Home » openjdk-7 » java » util » [javadoc | source]
java.util
static class: HashMap.Entry [javadoc | source]
java.lang.Object
   java.util.HashMap$Entry

All Implemented Interfaces:
    Entry

Direct Known Subclasses:
    Entry

Field Summary
final  K key     
 V value     
 Entry<K, V> next     
final  int hash     
Constructor:
 Entry(int h,
    K k,
    V v,
    Entry<K, V> n) 
    Creates new entry.
Method from java.util.HashMap$Entry Summary:
equals,   getKey,   getValue,   hashCode,   recordAccess,   recordRemoval,   setValue,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.util.HashMap$Entry Detail:
 public final boolean equals(Object o) 
 public final K getKey() 
 public final V getValue() 
 public final int hashCode() 
  void recordAccess(HashMap<K, V> m) 
    This method is invoked whenever the value in an entry is overwritten by an invocation of put(k,v) for a key k that's already in the HashMap.
  void recordRemoval(HashMap<K, V> m) 
    This method is invoked whenever the entry is removed from the table.
 public final V setValue(V newValue) 
 public final String toString()