private class SmallSortedMap.Entry extends java.lang.Object implements java.util.Map.Entry<K,V>, java.lang.Comparable<SmallSortedMap.Entry>
#setValue()
.Constructor and Description |
---|
Entry(K key,
V value) |
Entry(java.util.Map.Entry<K,V> copy) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SmallSortedMap.Entry other) |
boolean |
equals(java.lang.Object o) |
private boolean |
equals(java.lang.Object o1,
java.lang.Object o2)
equals() that handles null values.
|
K |
getKey() |
V |
getValue() |
int |
hashCode() |
V |
setValue(V newValue) |
java.lang.String |
toString() |
public K getKey()
public V getValue()
public int compareTo(SmallSortedMap.Entry other)
compareTo
in interface java.lang.Comparable<SmallSortedMap.Entry>
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
private boolean equals(java.lang.Object o1, java.lang.Object o2)