Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testComputeIfPresent_unsupportedPresent (0.16 sec)

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

        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfPresent_unsupportedPresent() {
        assertThrows(
            UnsupportedOperationException.class, () -> getMap().computeIfPresent(k0(), (k, v) -> v3()));
        expectUnchanged();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top