Class KeyValue<K,​V>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Map.Entry<K,​V>
    Direct Known Subclasses:
    TSKeyValue

    public class KeyValue<K,​V>
    extends java.util.AbstractMap.SimpleImmutableEntry<K,​V>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyValue​(K key, V value)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <K,​V>
      KeyValue<K,​V>
      of​(K key, V value)  
      • Methods inherited from class java.util.AbstractMap.SimpleImmutableEntry

        equals, getKey, getValue, hashCode, setValue, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • KeyValue

        public KeyValue​(K key,
                        V value)
    • Method Detail

      • of

        public static <K,​V> KeyValue<K,​V> of​(K key,
                                                         V value)