Class Pair<K,​V>


  • public class Pair<K,​V>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Pair​(K key, V value)  
    • Constructor Detail

      • Pair

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

      • getKey

        public K getKey()
      • getValue

        public V getValue()
      • setKey

        public void setKey​(K key)
      • setValue

        public void setValue​(V value)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object