protected static class AbstractLinkedMap.LinkEntry<K,V> extends AbstractHashedMap.HashEntry<K,V>
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.
Modifier and Type | Field and Description |
---|---|
protected AbstractLinkedMap.LinkEntry<K,V> |
after
The entry after this one in the order
|
protected AbstractLinkedMap.LinkEntry<K,V> |
before
The entry before this one in the order
|
hashCode, key, next, value
Modifier | Constructor and Description |
---|---|
protected |
LinkEntry(AbstractHashedMap.HashEntry<K,V> next,
int hashCode,
Object key,
V value)
Constructs a new entry.
|
equals, getKey, getValue, hashCode, setValue, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
protected AbstractLinkedMap.LinkEntry<K,V> before
protected AbstractLinkedMap.LinkEntry<K,V> after
protected LinkEntry(AbstractHashedMap.HashEntry<K,V> next, int hashCode, Object key, V value)
next
- the next entry in the hash bucket sequencehashCode
- the hash codekey
- the keyvalue
- the valueCopyright © 2006–2022 Apache Software Foundation. All rights reserved.