Class SimpleCache<K,​V>

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

    public class SimpleCache<K,​V>
    extends LinkedHashMap<K,​V>
    Simple LRU cache implementation which keeps at most the configured maximum number of elements.
    Author:
    James Ahlborn
    See Also:
    Serialized Form
    • Constructor Detail

      • SimpleCache

        public SimpleCache​(int maxSize)