- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testGetOrDefault_absentNull (0.17 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java
assertNull("getOrDefault(absent, null) should return null", getMap().getOrDefault(k3(), null)); } @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES) public void testGetOrDefault_absentNull() { assertEquals( "getOrDefault(null, def) should return the default value", v3(), getMap().getOrDefault(null, v3())); } @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0)