Package com.qfs.msg

Class KeyValueEntry<V>

java.lang.Object
com.qfs.msg.KeyValueEntry<V>
Type Parameters:
V - the type of the value

public class KeyValueEntry<V> extends Object
A class that contains both the key and the value of an entry.
Author:
ActiveViam
  • Constructor Details

    • KeyValueEntry

      public KeyValueEntry(String key, V value)
      Constructor.
      Parameters:
      key - the key of the entry
      value - the value of the entry
  • Method Details

    • getKey

      public String getKey()
      Returns the key of the entry.
    • getValue

      public V getValue()
      Returns the value of the entry.