Class AbstractHashedMap.HashEntry<K,V>
- java.lang.Object
-
- org.apache.commons.collections4.map.AbstractHashedMap.HashEntry<K,V>
-
- Direct Known Subclasses:
AbstractLinkedMap.LinkEntry
,AbstractReferenceMap.ReferenceEntry
- Enclosing class:
- AbstractHashedMap<K,V>
protected static class AbstractHashedMap.HashEntry<K,V> extends Object implements Map.Entry<K,V>, KeyValue<K,V>
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.
-
-
Field Detail
-
next
protected AbstractHashedMap.HashEntry<K,V> 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<K,V> next, int hashCode, Object key, V value)
-
-