- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testPutIfAbsent_nullValueUnsupportedAndKeyAbsent (0.44 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
"Should not contain null key after unsupported putIfAbsent(null, value)"); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) public void testPutIfAbsent_nullValueUnsupportedAndKeyAbsent() { try { getMap().putIfAbsent(k3(), null); fail("putIfAbsent(key, null) should throw"); } catch (NullPointerException expected) { } expectUnchanged();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jun 26 18:17:52 GMT 2023 - 4.8K bytes - Viewed (0)