org.apache.jcs.utils.struct
Class LRUMapEntry

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

public class LRUMapEntry
extends Object
implements Map.Entry, Serializable

Entry for the LRUMap.

Author:
Aaron Smuts
See Also:
Serialized Form

Constructor Summary
LRUMapEntry(Object key, Object value)
          S
 
Method Summary
 Object getKey()
           
 Object getValue()
           
 Object setValue(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(Object key,
                   Object value)
S

Parameters:
key -
value -
Method Detail

getKey

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

getValue

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

setValue

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


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