Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetOrDefault_presentMappedToNull (0.38 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

            getValueForNullKey(),
            getMap().getOrDefault(null, v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_presentMappedToNull() {
        initMapWithNullValue();
        assertNull(
            "getOrDefault(mappedToNull, default) should return null",
            getMap().getOrDefault(getKeyForNullValue(), v3()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top