Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetOrDefault_presentNull (0.18 sec)

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

            v3(),
            getMap().getOrDefault(k3(), v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_presentNull() {
        initMapWithNullKey();
        assertEquals(
            "getOrDefault(null, default) should return the associated value",
            getValueForNullKey(),
            getMap().getOrDefault(null, 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