Class U.LruCache<K,​V>

  • Enclosing class:
    U<T>

    public static class U.LruCache<K,​V>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      LruCache​(int capacity)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V get​(K key)  
      void put​(K key, V value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LruCache

        public LruCache​(int capacity)
    • Method Detail

      • get

        public V get​(K key)
      • put

        public void put​(K key,
                        V value)