Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for testComputeIfPresent_supportedAbsent (0.16 seconds)

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

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfPresent_supportedAbsent() {
        assertNull(
            "computeIfPresent(notPresent, function) should return null",
            getMap()
                .computeIfPresent(
                    k3(),
                    (k, v) -> {
    Created: 2026-04-03 12:43
    - Last Modified: 2024-11-14 23:40
    - 6.1K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfPresent_supportedAbsent() {
        assertNull(
            "computeIfPresent(notPresent, function) should return null",
            getMap()
                .computeIfPresent(
                    k3(),
                    (k, v) -> {
    Created: 2026-04-03 12:43
    - Last Modified: 2024-10-31 14:51
    - 6.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    cpovirk <******@****.***> 1773857050 -0700
    Created: 2026-04-03 12:43
    - Last Modified: 2026-03-18 18:06
    - 6.4K bytes
    - Click Count (0)
Back to Top