Class AbstractLinkedMap.LinkEntry<K,V>
- java.lang.Object
-
- org.apache.openjpa.lib.util.collections.AbstractHashedMap.HashEntry<K,V>
-
- org.apache.openjpa.lib.util.collections.AbstractLinkedMap.LinkEntry<K,V>
-
- All Implemented Interfaces:
java.util.Map.Entry<K,V>
,KeyValue<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.openjpa.lib.util.collections.AbstractHashedMap.HashEntry
hashCode, key, next, value
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LinkEntry(AbstractHashedMap.HashEntry<K,V> next, int hashCode, java.lang.Object key, V value)
Constructs a new entry.
-
-
-
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, java.lang.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
-
-