LruCacheTest.java | 34 LruCache<String, String> cache = new LruCache<String, String>(3); local 35 assertStatistics(cache); 37 assertEquals(null, cache.put("a", "A")); 39 assertStatistics(cache); 40 assertHit(cache, "a", "A"); 41 assertSnapshot(cache, "a", "A"); 43 assertEquals(null, cache.put("b", "B")); 45 assertStatistics(cache); 46 assertHit(cache, "a", "A"); 47 assertHit(cache, "b", "B") 83 LruCache<String, String> cache = newCreatingCache(); local 107 LruCache<String, String> cache = newCreatingCache(); local 113 LruCache<String, String> cache = newCreatingCache(); local 127 LruCache<String, String> cache = new LruCache<String, String>(3); local 136 LruCache<String, String> cache = new LruCache<String, String>(3); local 145 LruCache<String, String> cache = new LruCache<String, String>(3); local 163 LruCache<String, String> cache = new LruCache<String, String>(1); local 171 LruCache<String, String> cache = newRemovalLogCache(log); local 188 LruCache<String, String> cache = newRemovalLogCache(log); local 199 LruCache<String, String> cache = new LruCache<String, String>(10) { local 215 LruCache<String, String> cache = new LruCache<String, String>(4) { local 244 LruCache<String, int[]> cache = new LruCache<String, int[]>(4) { local 266 LruCache<String, String> cache = new LruCache<String, String>(4) { local 285 LruCache<String, String> cache = new LruCache<String, String>(10) { local 303 LruCache<String, String> cache = newRemovalLogCache(log); local 313 LruCache<String, String> cache = new LruCache<String, String>(10) { local 326 LruCache<String, String> cache = new LruCache<String, String>(10) { local 338 LruCache<String, String> cache = new LruCache<String, String>(10); local 346 LruCache<String, String> cache = new LruCache<String, String>(10); local 356 LruCache<String, String> cache = newRemovalLogCache(log); local 364 LruCache<String, String> cache = newRemovalLogCache(log); local 371 LruCache<String, String> cache = new LruCache<String, String>(3) { local 388 LruCache<String, String> cache = new LruCache<String, String>(3) { local 405 LruCache<String, String> cache = new LruCache<String, String>(3) { local 427 LruCache<String, Integer> cache = new LruCache<String, Integer>(3) { local [all...] |