org.apache.jcs.utils.struct
Class LRUMapEntry
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LRUMapEntry
public LRUMapEntry(Object key,
Object value)
- S
- Parameters:
key
- value
-
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.