Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for getLastEvictedValue (0.09 seconds)

  1. android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        }
    
        public int getCount() {
          return count.get();
        }
    
        public K getLastEvictedKey() {
          return lastNotification.getKey();
        }
    
        public V getLastEvictedValue() {
          return lastNotification.getValue();
        }
    
        public RemovalNotification<K, V> getLastNotification() {
          return lastNotification;
        }
      }
    
      /** No-op {@link RemovalListener}. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        }
    
        public int getCount() {
          return count.get();
        }
    
        public K getLastEvictedKey() {
          return lastNotification.getKey();
        }
    
        public V getLastEvictedValue() {
          return lastNotification.getValue();
        }
    
        public RemovalNotification<K, V> getLastNotification() {
          return lastNotification;
        }
      }
    
      /** No-op {@link RemovalListener}. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        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();
        assertThat(segment.accessQueue.contains(entryOne)).isFalse();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 117.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        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();
        assertThat(segment.accessQueue.contains(entryOne)).isFalse();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 115.9K bytes
    - Click Count (0)
Back to Top