org.apache.jcs.utils.struct
Class LRUElementDescriptor<K,V>
java.lang.Object
org.apache.jcs.utils.struct.DoubleLinkedListNode<V>
org.apache.jcs.utils.struct.LRUElementDescriptor<K,V>
- All Implemented Interfaces:
- Serializable
public class LRUElementDescriptor<K,V>
- extends DoubleLinkedListNode<V>
This is a node in the double linked list. It is stored as the value in the underlying map used by
the LRUMap class.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LRUElementDescriptor
public LRUElementDescriptor(K key,
V payloadP)
- Parameters:
key - payloadP -
setKey
public void setKey(K key)
- Parameters:
key - The key to set.
getKey
public K getKey()
- Returns:
- Returns the key.
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.