@Test public final void testError() { try { final SynchronizedLruCache<String, Integer> synchronizedLruCache = new SynchronizedLruCache<>(2, -100, 1); fail(ResourcesPrivateUtilTest.SHOULD_RAIZED_AN_EXCEPTION); synchronizedLruCache.clear(); } catch (final IllegalArgumentException e) { } }
@Override public synchronized void clear() { cacheMap.clear(); }
SynchronizedLruCache extends AbstractLruCache<K, V> { @Override public synchronized void clear() { cacheMap.clear(); } }
SynchronizedLruCache extends AbstractLruCache<K, V> { @Override public synchronized void clear() { cacheMap.clear(); } SynchronizedLruCache(int capacity, long ttl, int initialCapacity,
        float loadFactor);  SynchronizedLruCache(int capacity, long ttl, int initialCapacity);  SynchronizedLruCache(int capacity, long ttl); }
SynchronizedLruCache extends AbstractLruCache<K, V> { @Override public synchronized void clear() { cacheMap.clear(); } SynchronizedLruCache(int capacity, long ttl, int initialCapacity,
        float loadFactor);  SynchronizedLruCache(int capacity, long ttl, int initialCapacity);  SynchronizedLruCache(int capacity, long ttl); @Override synchronized void clear(); @Override synchronized V get(K key); @Override int getCapacity(); @Override synchronized int size(); @Override synchronized void put(K key, V value, long ttl); @Override synchronized V remove(K key); @Override synchronized int forceClearOldest(); }
SynchronizedLruCache extends AbstractLruCache<K, V> { @Override public synchronized void clear() { cacheMap.clear(); } SynchronizedLruCache(int capacity, long ttl, int initialCapacity,
        float loadFactor);  SynchronizedLruCache(int capacity, long ttl, int initialCapacity);  SynchronizedLruCache(int capacity, long ttl); @Override synchronized void clear(); @Override synchronized V get(K key); @Override int getCapacity(); @Override synchronized int size(); @Override synchronized void put(K key, V value, long ttl); @Override synchronized V remove(K key); @Override synchronized int forceClearOldest(); static final int DEFAULT_INITIAL_CAPACITY; static final float DEFAULT_LOAD_FACTOR; }