Interface BoundedCache<K,​V>


  • public interface BoundedCache<K,​V>
    An LRU cache that has a fixed maximum size.
    • Method Detail

      • get

        V get​(K key,
              Function<? super K,​? extends V> mappingFunction)
      • build

        static <K,​V> BoundedCache<K,​V> build​(long maxSize)