Class LRUCache<K,​V>

  • All Implemented Interfaces:
    Serializable, Cloneable, Map<K,​V>

    public class LRUCache<K,​V>
    extends LinkedHashMap<K,​V>
    A LinkedHashMap with fixed maximum size which can be used as a cache. Least recently used (LRU) entries will be removed first if the size limit is reached.
    See Also:
    Serialized Form