Class LRUCache<K,​V>

    • Field Detail

      • DEFAULT_SPACELIMIT

        protected static final int DEFAULT_SPACELIMIT
        Default amount of space in the cache
        See Also:
        Constant Field Values
      • maxSize

        protected int maxSize
    • Constructor Detail

      • LRUCache

        public LRUCache()
        Creates a new cache. Size of cache is defined by DEFAULT_SPACELIMIT.
      • LRUCache

        public LRUCache​(int maxSize)