public class TimedHashMap<K,V>
extends java.lang.Object
Constructor and Description |
---|
TimedHashMap() |
Modifier and Type | Method and Description |
---|---|
V |
get(K key)
Return cached item if it has not already expired.
|
V |
put(K key,
V value)
Store the item in the map and associate a timestamp with it
|