Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testPutIfAbsent_replacesNullValue (0.15 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

        expectAdded(nullValueEntry);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_replacesNullValue() {
        initMapWithNullValue();
    
        // putIfAbsent should replace the null value with the new value
        assertNull(
            "putIfAbsent(existingKeyWithNullValue, value) should return null",
    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