@Test public void testMaxSize() { LruCacheAdapter<String, Bitmap> cache = new LruCacheAdapter<String, Bitmap>(new MyCache(DEFAULT_SIZE)); Assert.assertEquals(DEFAULT_SIZE, cache.getMaxSize()); }
@Override public int getMaxSize() { return lruCache.maxSize(); }
LruCacheAdapter implements MemoryCache<K, V> { @Override public int getMaxSize() { return lruCache.maxSize(); } }
LruCacheAdapter implements MemoryCache<K, V> { @Override public int getMaxSize() { return lruCache.maxSize(); } LruCacheAdapter(LruCache<K, V> lruCache); }
LruCacheAdapter implements MemoryCache<K, V> { @Override public int getMaxSize() { return lruCache.maxSize(); } LruCacheAdapter(LruCache<K, V> lruCache); LruCache<K, V> getLruCache(); @Override V get(K key); @Override void put(K key, V value); @Override void remove(K key); @Override void clear(); @Override int getCurrentSize(); @Override int getMaxSize(); @Override boolean has(K key); }
LruCacheAdapter implements MemoryCache<K, V> { @Override public int getMaxSize() { return lruCache.maxSize(); } LruCacheAdapter(LruCache<K, V> lruCache); LruCache<K, V> getLruCache(); @Override V get(K key); @Override void put(K key, V value); @Override void remove(K key); @Override void clear(); @Override int getCurrentSize(); @Override int getMaxSize(); @Override boolean has(K key);  }