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

All Implemented Interfaces:

Direct Known Subclasses:

Field Summary
final  K key     
 V value     
 Entry<K, V> next     
final  int hash     
 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()