java.util.Map.Entry
, KeyValue
protected static class AbstractLinkedMap.LinkEntry extends AbstractHashedMap.HashEntry
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 |
after |
The entry after this one in the order
|
protected AbstractLinkedMap.LinkEntry |
before |
The entry before this one in the order
|
hashCode, key, next, value
Modifier | Constructor | Description |
---|---|---|
protected |
LinkEntry(AbstractHashedMap.HashEntry next,
int hashCode,
java.lang.Object key,
java.lang.Object value) |
Constructs a new entry.
|
protected AbstractLinkedMap.LinkEntry before
protected AbstractLinkedMap.LinkEntry after
protected LinkEntry(AbstractHashedMap.HashEntry next, int hashCode, java.lang.Object key, java.lang.Object value)
next
- the next entry in the hash bucket sequencehashCode
- the hash codekey
- the keyvalue
- the valueCopyright © 2001-2017 Apache Software Foundation. All Rights Reserved.