Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetAllPresent (0.17 sec)

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

        assertEquals(3, stats.hitCount());
        assertSame(one, cache.asMap().get(two));
        assertTrue(cache.asMap().containsKey(two));
        assertTrue(cache.asMap().containsValue(one));
      }
    
      public void testGetAllPresent() {
        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().recordStats().build();
        CacheStats stats = cache.stats();
        assertEquals(0, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 5.4K bytes
    - Viewed (0)
Back to top