java.util
Class HashMap.Entry<K,V>
java.lang.Object
java.util.MapEntry<K,V>
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>
|
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. |
origKeyHash
final int origKeyHash
next
HashMap.Entry<K,V> next
HashMap.Entry
HashMap.Entry(K theKey,
int hash)
HashMap.Entry
HashMap.Entry(K theKey,
V theValue)
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.
Please submit a feedback, bug or feature