Package com.qfs.msg

Class 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 Detail

      • KeyValueEntry

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

      • getKey

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

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