Package net.i2p.util

Class LHMCache<K,​V>

java.lang.Object
java.util.AbstractMap<K,​V>
java.util.HashMap<K,​V>
java.util.LinkedHashMap<K,​V>
net.i2p.util.LHMCache<K,​V>
All Implemented Interfaces:
Serializable, Cloneable, Map<K,​V>

public class LHMCache<K,​V>
extends LinkedHashMap<K,​V>
A LinkedHashMap with a maximum size, for use as an LRU cache. Unsynchronized.
Since:
0.9.3
See Also:
Serialized Form