Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testPutIfAbsent_nullValueUnsupportedAndKeyAbsent (0.52 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/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() {
        assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(k3(), null));
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top