Class Cache<K,V>

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

public class Cache<K,V> extends LinkedHashMap<K,V>
Provides fixed size, pre-allocated, least recently used replacement cache.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • capacity

      private final int capacity
  • Constructor Details

    • Cache

      public Cache(int capacity)
  • Method Details