Class AbstractLinkedMap.LinkEntry
java.lang.Object
org.apache.commons.collections.map.AbstractHashedMap.HashEntry
org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry
- Enclosing class:
- AbstractLinkedMap
LinkEntry that stores the data.
If you subclass AbstractLinkedMap
but not LinkEntry
then you will not be able to access the protected fields.
The entryXxx()
methods on AbstractLinkedMap
exist
to provide the necessary access.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AbstractLinkedMap.LinkEntry
The entry after this one in the orderprotected AbstractLinkedMap.LinkEntry
The entry before this one in the orderFields inherited from class org.apache.commons.collections.map.AbstractHashedMap.HashEntry
hashCode, key, next, value
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
LinkEntry
(AbstractHashedMap.HashEntry next, int hashCode, Object key, Object value) Constructs a new entry. -
Method Summary
-
Field Details
-
before
The entry before this one in the order -
after
The entry after this one in the order
-
-
Constructor Details
-
LinkEntry
Constructs a new entry.- Parameters:
next
- the next entry in the hash bucket sequencehashCode
- the hash codekey
- the keyvalue
- the value
-