Class AbstractLinkedMap.LinkEntry<K,V>
- java.lang.Object
-
- org.apache.commons.collections4.map.AbstractHashedMap.HashEntry<K,V>
-
- org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<K,V>
-
- Enclosing class:
- AbstractLinkedMap<K,V>
protected static class AbstractLinkedMap.LinkEntry<K,V> extends AbstractHashedMap.HashEntry<K,V>
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<K,V>
after
The entry after this one in the orderprotected AbstractLinkedMap.LinkEntry<K,V>
before
The entry before this one in the order-
Fields inherited from class org.apache.commons.collections4.map.AbstractHashedMap.HashEntry
hashCode, key, next, value
-
-
-
-
Field Detail
-
before
protected AbstractLinkedMap.LinkEntry<K,V> before
The entry before this one in the order
-
after
protected AbstractLinkedMap.LinkEntry<K,V> after
The entry after this one in the order
-
-
Constructor Detail
-
LinkEntry
protected LinkEntry(AbstractHashedMap.HashEntry<K,V> next, int hashCode, Object key, V value)
Constructs a new entry.- Parameters:
next
- the next entry in the hash bucket sequencehashCode
- the hash codekey
- the keyvalue
- the value
-
-