public class TimedHashMap<K,V>
extends java.lang.Object
Simple utility class that extends HashMap by adding an expiry to the entries.
This map stores entries, and returns them only if the entries were last accessed within time t=10 seconds
Return cached item if it has not already expired.
Before returning, this method also resets the "last accessed"
time for this entry, so it is good for another 10 seconds