Build 1.0_r1(from source)

java.util
Class HashMap.Entry<K,V>

java.lang.Object
  extended by java.util.MapEntry<K,V>
      extended by java.util.HashMap.Entry<K,V>
All Implemented Interfaces:
Cloneable, Map.Entry<K,V>
Direct Known Subclasses:
LinkedHashMap.LinkedHashMapEntry
Enclosing class:
HashMap<K,V>

static class HashMap.Entry<K,V>
extends MapEntry<K,V>


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.MapEntry
MapEntry.Type<RT,KT,VT>
 
Field Summary
(package private)  HashMap.Entry<K,V> next
           
(package private)  int origKeyHash
           
 
Fields inherited from class java.util.MapEntry
key, value
 
Constructor Summary
HashMap.Entry(K theKey, int hash)
           
HashMap.Entry(K theKey, V theValue)
           
 
Method Summary
 Object clone()
          Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.
 
Methods inherited from class java.util.MapEntry
equals, getKey, getValue, hashCode, setValue, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

origKeyHash

final int origKeyHash

next

HashMap.Entry<K,V> next
Constructor Detail

HashMap.Entry

HashMap.Entry(K theKey,
              int hash)

HashMap.Entry

HashMap.Entry(K theKey,
              V theValue)
Method Detail

clone

public Object clone()
Description copied from class: Object
Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.

Classes which wish to support cloning must specify that they implement the Cloneable interface, since the implementation checks for this.

Overrides:
clone in class MapEntry<K,V>
Returns:
Object a shallow copy of this object.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature