@Test public void evictAll() { LruCache cache = new LruCache(4); cache.set("a", A); cache.set("b", B); cache.set("c", C); cache.evictAll(); assertThat(cache.map).isEmpty(); }
public final void evictAll() { trimToSize(-1); }
LruCache implements Cache { public final void evictAll() { trimToSize(-1); } }
LruCache implements Cache { public final void evictAll() { trimToSize(-1); } LruCache(@NonNull Context context);  LruCache(int maxSize); }
LruCache implements Cache { public final void evictAll() { trimToSize(-1); } LruCache(@NonNull Context context);  LruCache(int maxSize); @Override Bitmap get(@NonNull String key); @Override void set(@NonNull String key, @NonNull Bitmap bitmap); final void evictAll(); @Override final synchronized int size(); @Override final synchronized int maxSize(); @Override final synchronized void clear(); @Override final synchronized void clearKeyUri(String uri); final synchronized int hitCount(); final synchronized int missCount(); final synchronized int putCount(); final synchronized int evictionCount(); }
LruCache implements Cache { public final void evictAll() { trimToSize(-1); } LruCache(@NonNull Context context);  LruCache(int maxSize); @Override Bitmap get(@NonNull String key); @Override void set(@NonNull String key, @NonNull Bitmap bitmap); final void evictAll(); @Override final synchronized int size(); @Override final synchronized int maxSize(); @Override final synchronized void clear(); @Override final synchronized void clearKeyUri(String uri); final synchronized int hitCount(); final synchronized int missCount(); final synchronized int putCount(); final synchronized int evictionCount();  }