Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for asMapKeySet_contains (0.23 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        Set<Integer> foundKeys = new HashSet<>(cache.asMap().keySet());
    
        assertThat(foundKeys).containsExactly(20, 5);
      }
    
      @Test
      @J2ktIncompatible
      public void asMapKeySet_contains() {
        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder().expireAfterWrite(1000, MILLISECONDS).ticker(fakeTicker).build();
    
        cache.put(10, 20);
        fakeTicker.advance(500, MILLISECONDS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
Back to Top