org.apache.jcs.utils.struct
Class LRUMapEntry<K,V>
java.lang.Object
org.apache.jcs.utils.struct.LRUMapEntry<K,V>
- All Implemented Interfaces:
- Serializable, Map.Entry<K,V>
public class LRUMapEntry<K,V>
- extends Object
- implements Map.Entry<K,V>, 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(K key,
V value)
- S
- Parameters:
key - value -
getKey
public K getKey()
- Specified by:
getKey in interface Map.Entry<K,V>
- Returns:
- key
getValue
public V getValue()
- Specified by:
getValue in interface Map.Entry<K,V>
- Returns:
- value
setValue
public V setValue(V valueArg)
- Specified by:
setValue in interface Map.Entry<K,V>
- Parameters:
valueArg -
- Returns:
- the old value
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.