Class LRUCache<K,​T>

  • All Implemented Interfaces:
    Cache<K,​T>

    public abstract class LRUCache<K,​T>
    extends Object
    implements Cache<K,​T>
    This class is not thread safe.
    • Field Detail

      • cache

        protected Map<K,​T> cache
    • Constructor Detail

      • LRUCache

        protected LRUCache​(int cacheSize)