org.apache.jcs.utils.struct
Class LRUElementDescriptor

java.lang.Object
  extended by org.apache.jcs.utils.struct.DoubleLinkedListNode
      extended by org.apache.jcs.utils.struct.LRUElementDescriptor
All Implemented Interfaces:
java.io.Serializable

public class LRUElementDescriptor
extends DoubleLinkedListNode

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

Field Summary
 
Fields inherited from class org.apache.jcs.utils.struct.DoubleLinkedListNode
next, prev
 
Constructor Summary
LRUElementDescriptor(java.lang.Object key, java.lang.Object payloadP)
           
 
Method Summary
 java.lang.Object getKey()
           
 void setKey(java.lang.Object key)
           
 
Methods inherited from class org.apache.jcs.utils.struct.DoubleLinkedListNode
getPayload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LRUElementDescriptor

public LRUElementDescriptor(java.lang.Object key,
                            java.lang.Object payloadP)
Parameters:
key -
payloadP -
Method Detail

setKey

public void setKey(java.lang.Object key)
Parameters:
key - The key to set.

getKey

public java.lang.Object getKey()
Returns:
Returns the key.


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.