protected static class LinkedMap.LinkedEntry<K,V>
extends java.lang.Object
implements java.io.Serializable
Map.Entry.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object pOther) |
K |
getKey() |
V |
getValue() |
int |
hashCode() |
protected void |
recordAccess(java.util.Map<K,V> pMap)
If the entry is part of an access ordered list, moves the entry to
the end of the list.
|
protected void |
recordRemoval(java.util.Map<K,V> pMap)
Removes this entry from the linked list.
|
V |
setValue(V pValue) |
java.lang.String |
toString() |
protected void recordAccess(java.util.Map<K,V> pMap)
pMap - the map to record access forprotected void recordRemoval(java.util.Map<K,V> pMap)
pMap - the map to record removal frompublic V getValue()
getValue in interface java.util.Map.Entry<K,V>public V setValue(V pValue)
setValue in interface java.util.Map.Entry<K,V>public K getKey()
getKey in interface java.util.Map.Entry<K,V>public boolean equals(java.lang.Object pOther)
equals in interface java.util.Map.Entry<K,V>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Map.Entry<K,V>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018. All Rights Reserved.