Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testTransformEqualityOfMapsWithNullValues (0.11 sec)

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

        Map<String, String> map = transformValues(underlying, Functions.toStringFunction());
        assertEquals("1", map.remove("a"));
        assertThat(map.remove("b")).isNull();
      }
    
      public void testTransformEqualityOfMapsWithNullValues() {
        Map<String, @Nullable String> underlying = new HashMap<>();
        underlying.put("a", null);
        underlying.put("b", "");
    
        Map<String, Boolean> map =
            transformValues(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top