- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getLastEvictedKey (0.09 seconds)
-
android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java
count.incrementAndGet(); lastNotification = notification; } public int getCount() { return count.get(); } public K getLastEvictedKey() { return lastNotification.getKey(); } public V getLastEvictedValue() { return lastNotification.getValue(); } public RemovalNotification<K, V> getLastNotification() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 3.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
// present table.set(0, entryOne); segment.count = 1; assertThat(segment.reclaimKey(entryOne, hashOne)).isTrue(); assertThat(listener.getCount()).isEqualTo(1); assertThat(listener.getLastEvictedKey()).isSameInstanceAs(keyOne); assertThat(listener.getLastEvictedValue()).isSameInstanceAs(valueOne); assertThat(map.removalNotificationQueue.isEmpty()).isTrue();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
// present table.set(0, entryOne); segment.count = 1; assertThat(segment.reclaimKey(entryOne, hashOne)).isTrue(); assertThat(listener.getCount()).isEqualTo(1); assertThat(listener.getLastEvictedKey()).isSameInstanceAs(keyOne); assertThat(listener.getLastEvictedValue()).isSameInstanceAs(valueOne); assertThat(map.removalNotificationQueue.isEmpty()).isTrue();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0)