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.- Version:
- $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/java/com/twelvemonkeys/util/LinkedMap.java#1 $
- Author:
- inspired by LinkedHashMap from JDK 1.4+, by Josh Bloch, Harald Kuhr
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()getValue()inthashCode()protected voidrecordAccess(Map<K, V> pMap) If the entry is part of an access ordered list, moves the entry to the end of the list.protected voidrecordRemoval(Map<K, V> pMap) Removes this entry from the linked list.toString()
-
Method Details
-
recordAccess
-
recordRemoval
-
getValue
-
setValue
-
getKey
-
equals
-
hashCode
-
toString
-