private static class KeyComparatorLinkedHashMap.Entry<K,V> extends KeyComparatorHashMap.Entry<K,V>
| Modifier and Type | Field and Description |
|---|---|
(package private) KeyComparatorLinkedHashMap.Entry<K,V> |
after |
(package private) KeyComparatorLinkedHashMap.Entry<K,V> |
before |
hash, key, next, value| Constructor and Description |
|---|
Entry(int hash,
K key,
V value,
KeyComparatorHashMap.Entry<K,V> next) |
| Modifier and Type | Method and Description |
|---|---|
private void |
addBefore(KeyComparatorLinkedHashMap.Entry<K,V> existingEntry)
Inserts this entry before the specified existing entry in the list.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
(package private) void |
recordAccess(KeyComparatorHashMap<K,V> m)
This method is invoked by the superclass whenever the value
of a pre-existing entry is read by Map.get or modified by Map.set.
|
(package private) void |
recordRemoval(KeyComparatorHashMap<K,V> m)
This method is invoked whenever the entry is
removed from the table.
|
private void |
remove()
Removes this entry from the linked list.
|
getKey, getValue, setValue, toStringKeyComparatorLinkedHashMap.Entry<K,V> before
KeyComparatorLinkedHashMap.Entry<K,V> after
Entry(int hash,
K key,
V value,
KeyComparatorHashMap.Entry<K,V> next)
private void remove()
private void addBefore(KeyComparatorLinkedHashMap.Entry<K,V> existingEntry)
void recordAccess(KeyComparatorHashMap<K,V> m)
recordAccess in class KeyComparatorHashMap.Entry<K,V>void recordRemoval(KeyComparatorHashMap<K,V> m)
KeyComparatorHashMap.EntryrecordRemoval in class KeyComparatorHashMap.Entry<K,V>public boolean equals(java.lang.Object obj)