public class KeyValue<K extends java.lang.Comparable<K>,V> extends java.lang.Object implements java.util.Map.Entry<K,V>, java.lang.Comparable<KeyValue<K,V>>
protected K
key
protected V
value
KeyValue()
KeyValue(K key, V value)
int
compareTo(KeyValue<K,V> o)
boolean
equals(java.lang.Object obj)
K
getKey()
V
getValue()
hashCode()
void
setKey(K key)
setValue(V value)
java.lang.String
toString()
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected K extends java.lang.Comparable<K> key
protected V value
public KeyValue()
public KeyValue(K key, V value)
public K getKey()
getKey
java.util.Map.Entry<K extends java.lang.Comparable<K>,V>
public void setKey(K key)
public V getValue()
getValue
public V setValue(V value)
setValue
public int compareTo(KeyValue<K,V> o)
compareTo
java.lang.Comparable<KeyValue<K extends java.lang.Comparable<K>,V>>
public int hashCode()
hashCode
java.lang.Object
public boolean equals(java.lang.Object obj)
equals
public java.lang.String toString()
toString