Class LRUConcurrentCache<K,​V>


  • public class LRUConcurrentCache<K,​V>
    extends java.lang.Object
    • Constructor Detail

      • LRUConcurrentCache

        public LRUConcurrentCache​(int maxEntries)
    • Method Detail

      • clear

        public void clear()
      • containsKey

        public boolean containsKey​(K key)
      • get

        public V get​(K key)
      • put

        public void put​(K key,
                        V value)
      • remove

        public V remove​(K key)
      • size

        public int size()
      • limit

        public int limit()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object