Package com.twelvemonkeys.util
Class LinkedMap.LinkedEntry<K,V>
java.lang.Object
com.twelvemonkeys.util.LinkedMap.LinkedEntry<K,V>
- All Implemented Interfaces:
Serializable
,Map.Entry<K,
V>
Linked list implementation of
Map.Entry
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
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.toString()
-
Method Details
-
recordAccess
If the entry is part of an access ordered list, moves the entry to the end of the list.- Parameters:
pMap
- the map to record access for
-
recordRemoval
Removes this entry from the linked list.- Parameters:
pMap
- the map to record removal from
-
getValue
-
setValue
-
getKey
-
equals
-
hashCode
public int hashCode() -
toString
-