Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testPutIfAbsent_putWithNullValueUnsupported (0.17 sec)

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

      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_putWithNullValueUnsupported() {
        try {
          getMap().putIfAbsent(k0(), null);
        } catch (NullPointerException tolerated) {
        }
        expectUnchanged();
        expectNullValueMissingWhenNullValuesUnsupported(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top