Home | History | Annotate | Download | only in cache

Lines Matching refs:newKey

93         Object newKey = new Object();
94 assertNull(cache.asMap().put(newKey, entry.getValue()));
97 assertEquals(entry.getValue(), cache.getUnchecked(newKey));
99 warmed.add(entryOf(newKey, entry.getValue()));
114 Object newKey = new Object();
115 assertNull(cache.asMap().putIfAbsent(newKey, entry.getValue()));
118 assertEquals(entry.getValue(), cache.getUnchecked(newKey));
120 warmed.add(entryOf(newKey, entry.getValue()));
131 Object newKey = new Object();
133 cache.asMap().putAll(ImmutableMap.of(newKey, newValue));
135 assertEquals(newValue, cache.getUnchecked(newKey));
150 Object newKey = new Object();
151 assertNull(cache.asMap().replace(newKey, entry.getValue()));
152 assertFalse(cache.asMap().replace(newKey, entry.getValue(), newValue));
155 assertFalse(cache.asMap().containsKey(newKey));