K - Type of the first element of the pairV - Type of the second element of the pairpublic class Pair<K,V>
extends java.lang.Object
public K getKey()
public void setKey(K key)
key - Key to setpublic V getValue()
public void setValue(V value)
value - Value to setpublic java.lang.String toString()
toString in class java.lang.Object