Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetOrDefault_absentNullDefault (0.17 sec)

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

        assertEquals(
            "getOrDefault(absent, def) should return the default value",
            v3(),
            getMap().getOrDefault(k3(), v3()));
      }
    
      public void testGetOrDefault_absentNullDefault() {
        assertNull("getOrDefault(absent, null) should return null", getMap().getOrDefault(k3(), null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGetOrDefault_absentNull() {
    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