Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testFilteredKeysFilteredReflectsBackingChanges (0.29 sec)

  1. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

            IllegalArgumentException.class,
            () -> filtered.putAll(ImmutableMap.of("c", 3, "zzz", 4, "b", 5)));
    
        assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered);
      }
    
      public void testFilteredKeysFilteredReflectsBackingChanges() {
        Map<String, Integer> unfiltered = createUnfiltered();
        Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
        unfiltered.put("two", 2);
        unfiltered.put("three", 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top