Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testKeySetIterator (0.53 sec)

  1. guava-tests/test/com/google/common/graph/MapCacheTest.java

              {new MapRetrievalCache<String, String>(new TreeMap<String, String>(nullsLast))}
            });
      }
    
      @Before
      public void init() {
        mapCache.clear();
      }
    
      @Test
      public void testKeySetIterator() {
        mapCache.put("A", "A_value");
        mapCache.put("B", "B_value");
        mapCache.put("C", "C_value");
    
        assertThat(mapCache.unmodifiableKeySet()).hasSize(3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top