Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testComputeIfPresent_nullTreatedAsAbsent (0.13 seconds)

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

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

                      return null;
                    }));
        expectMissing(e0());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfPresent_nullTreatedAsAbsent() {
        initMapWithNullValue();
        assertNull(
            "computeIfPresent(presentAssignedToNull, function) should return null",
            getMap()
                .computeIfPresent(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 6.1K bytes
    - Click Count (0)
Back to Top