Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testComputeIfAbsent_nullKeySupported (0.11 sec)

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

                    }));
        expectReplacement(entry(getKeyForNullValue(), getValueForNullKey()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testComputeIfAbsent_nullKeySupported() {
        getMap()
            .computeIfAbsent(
                null,
                k -> {
                  assertNull(k);
                  return v3();
                });
        expectAdded(entry(null, v3()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

                    }));
        expectReplacement(entry(getKeyForNullValue(), getValueForNullKey()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testComputeIfAbsent_nullKeySupported() {
        getMap()
            .computeIfAbsent(
                null,
                k -> {
                  assertNull(k);
                  return v3();
                });
        expectAdded(entry(null, v3()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top