Class AbstractHashedMap.HashEntry
- java.lang.Object
-
- org.apache.commons.collections.map.AbstractHashedMap.HashEntry
-
- Direct Known Subclasses:
AbstractLinkedMap.LinkEntry
,AbstractReferenceMap.ReferenceEntry
,IdentityMap.IdentityEntry
- Enclosing class:
- AbstractHashedMap
protected static class AbstractHashedMap.HashEntry extends Object implements Map.Entry, KeyValue
HashEntry used to store the data.If you subclass
AbstractHashedMap
but notHashEntry
then you will not be able to access the protected fields. TheentryXxx()
methods onAbstractHashedMap
exist to provide the necessary access.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HashEntry(AbstractHashedMap.HashEntry next, int hashCode, Object key, Object value)
-
-
-
Field Detail
-
next
protected AbstractHashedMap.HashEntry next
The next entry in the hash chain
-
hashCode
protected int hashCode
The hash code of the key
-
key
protected Object key
The key
-
value
protected Object value
The value
-
-
Constructor Detail
-
HashEntry
protected HashEntry(AbstractHashedMap.HashEntry next, int hashCode, Object key, Object value)
-
-