Home » openjdk-7 » java » util » [javadoc | source]
static final class: TreeMap.Entry [javadoc | source]

All Implemented Interfaces:

Node in the Tree. Doubles as a means to pass key-value pairs back to user (see Map.Entry).
Field Summary
 K key     
 V value     
 Entry<K, V> left     
 Entry<K, V> right     
 Entry<K, V> parent     
 boolean color     
 Entry(K key,
    V value,
    Entry<K, V> parent) 
    Make a new cell with given key, value, and parent, and with {@code null} child links, and BLACK color.
Method from java.util.TreeMap$Entry Summary:
equals,   getKey,   getValue,   hashCode,   setValue,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.util.TreeMap$Entry Detail:
 public boolean equals(Object o) 
 public K getKey() 
    Returns the key.
 public V getValue() 
    Returns the value associated with the key.
 public int hashCode() 
 public V setValue(V value) 
    Replaces the value currently associated with the key with the given value.
 public String toString()