org.apache.jcs.utils.struct
Class LRUMapEntry

java.lang.Object
  extended by org.apache.jcs.utils.struct.LRUMapEntry
All Implemented Interfaces:
java.io.Serializable, java.util.Map.Entry

public class LRUMapEntry
extends java.lang.Object
implements java.util.Map.Entry, java.io.Serializable

Entry for the LRUMap.

Author:
Aaron Smuts
See Also:
Serialized Form

Constructor Summary
LRUMapEntry(java.lang.Object key, java.lang.Object value)
          S
 
Method Summary
 java.lang.Object getKey()
           
 java.lang.Object getValue()
           
 java.lang.Object setValue(java.lang.Object valueArg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Constructor Detail

LRUMapEntry

public LRUMapEntry(java.lang.Object key,
                   java.lang.Object value)
S

Parameters:
key -
value -
Method Detail

getKey

public java.lang.Object getKey()
Specified by:
getKey in interface java.util.Map.Entry
Returns:
key

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface java.util.Map.Entry
Returns:
value

setValue

public java.lang.Object setValue(java.lang.Object valueArg)
Specified by:
setValue in interface java.util.Map.Entry
Parameters:
valueArg -
Returns:
the old value


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