Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testAsMap (0.05 sec)

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

        Object three = new Object();
        cache.getUnchecked(three);
        assertEquals(1, cache.stats().hitCount());
        assertEquals(3, cache.stats().missCount());
      }
    
      // asMap tests
    
      public void testAsMap() {
        CacheBuilder<Object, Object> builder = createCacheBuilder();
        LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader());
        assertEquals(EMPTY_STATS, cache.stats());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        Object three = new Object();
        cache.getUnchecked(three);
        assertEquals(1, cache.stats().hitCount());
        assertEquals(3, cache.stats().missCount());
      }
    
      // asMap tests
    
      public void testAsMap() {
        CacheBuilder<Object, Object> builder = createCacheBuilder();
        LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader());
        assertEquals(EMPTY_STATS, cache.stats());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top