|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.twelvemonkeys.util.LinkedMap.LinkedEntry<K,V>
protected static class LinkedMap.LinkedEntry<K,V>
Linked list implementation of Map.Entry.
| Method Summary | |
|---|---|
boolean |
equals(Object pOther)
|
K |
getKey()
|
V |
getValue()
|
int |
hashCode()
|
protected void |
recordAccess(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(Map<K,V> pMap)
Removes this entry from the linked list. |
V |
setValue(V pValue)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
protected void recordAccess(Map<K,V> pMap)
pMap - the map to record access forprotected void recordRemoval(Map<K,V> pMap)
pMap - the map to record removal frompublic V getValue()
getValue in interface Map.Entry<K,V>public V setValue(V pValue)
setValue in interface Map.Entry<K,V>public K getKey()
getKey in interface Map.Entry<K,V>public boolean equals(Object pOther)
equals in interface Map.Entry<K,V>equals in class Objectpublic int hashCode()
hashCode in interface Map.Entry<K,V>hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||