Class AbstractLinkedMap.LinkEntry
- java.lang.Object
-
- org.apache.commons.collections.map.AbstractHashedMap.HashEntry
-
- org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry
-
- All Implemented Interfaces:
java.util.Map.Entry,KeyValue
- Enclosing class:
- AbstractLinkedMap
protected static class AbstractLinkedMap.LinkEntry extends AbstractHashedMap.HashEntry
LinkEntry that stores the data.If you subclass
AbstractLinkedMapbut notLinkEntrythen you will not be able to access the protected fields. TheentryXxx()methods onAbstractLinkedMapexist to provide the necessary access.
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractLinkedMap.LinkEntryafterThe entry after this one in the orderprotected AbstractLinkedMap.LinkEntrybeforeThe 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 protectedLinkEntry(AbstractHashedMap.HashEntry next, int hashCode, java.lang.Object key, java.lang.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, java.lang.Object key, java.lang.Object value)
Constructs a new entry.- Parameters:
next- the next entry in the hash bucket sequencehashCode- the hash codekey- the keyvalue- the value
-
-