Class KeyValue<E,​K>


  • public class KeyValue<E,​K>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private E key  
      private K value  
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      E getKey()  
      K getValue()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • key

        private E key
      • value

        private K value
    • Constructor Detail

      • KeyValue

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

      • getKey

        public E getKey()
      • getValue

        public K getValue()