KeyValue<K,V>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 | 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 | Description |
|---|---|---|
protected |
LinkEntry(AbstractHashedMap.HashEntry<K,V> next,
int hashCode,
java.lang.Object key,
V value) |
Constructs a new entry.
|
protected AbstractLinkedMap.LinkEntry<K,V> before
protected AbstractLinkedMap.LinkEntry<K,V> after
protected LinkEntry(AbstractHashedMap.HashEntry<K,V> next, int hashCode, java.lang.Object key, V value)
next - the next entry in the hash bucket sequencehashCode - the hash codekey - the keyvalue - the valueCopyright © 2001-2019 - Apache Software Foundation