Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testInvalidateAll (0.15 sec)

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

        cache.invalidate(654);
    
        assertFalse(cache.asMap().containsKey(654));
        assertTrue(cache.asMap().containsKey(2456));
        assertTrue(cache.asMap().containsKey(2));
      }
    
      public void testInvalidateAll() {
        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
        cache.put(654, 2675);
        cache.put(2456, 56);
        cache.put(2, 15);
    
        cache.invalidateAll();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top