Class AbstractLinkedMap.LinkEntry
- java.lang.Object
-
- org.apache.commons.collections.map.AbstractHashedMap.HashEntry
-
- org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry
-
- Enclosing class:
- AbstractLinkedMap
protected static class AbstractLinkedMap.LinkEntry extends AbstractHashedMap.HashEntry
LinkEntry that stores the data.If you subclass
AbstractLinkedMap
but notLinkEntry
then you will not be able to access the protected fields. TheentryXxx()
methods onAbstractLinkedMap
exist to provide the necessary access.
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractLinkedMap.LinkEntry
after
The entry after this one in the orderprotected AbstractLinkedMap.LinkEntry
before
The entry before this one in the order-
Fields inherited from class org.apache.commons.collections.map.AbstractHashedMap.HashEntry
hashCode, key, next, value
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LinkEntry(AbstractHashedMap.HashEntry next, int hashCode, Object key, Object value)
Constructs a new entry.
-
-
-
Field Detail
-
before
protected AbstractLinkedMap.LinkEntry before
The entry before this one in the order
-
after
protected AbstractLinkedMap.LinkEntry after
The entry after this one in the order
-
-
Constructor Detail
-
LinkEntry
protected LinkEntry(AbstractHashedMap.HashEntry next, int hashCode, Object key, Object value)
Constructs a new entry.- Parameters:
next
- the next entry in the hash bucket sequencehashCode
- the hash codekey
- the keyvalue
- the value
-
-