Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCompute_presentToAbsent (0.12 sec)

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

        expectReplacement(entry(k0(), v3()));
        assertEquals(getNumElements(), getMap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      @CollectionSize.Require(absent = ZERO)
      public void testCompute_presentToAbsent() {
        assertNull(
            "Map.compute(present, functionReturningNull) should return null",
            getMap()
                .compute(
                    k0(),
                    (k, v) -> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

        expectReplacement(entry(k0(), v3()));
        assertEquals(getNumElements(), getMap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      @CollectionSize.Require(absent = ZERO)
      public void testCompute_presentToAbsent() {
        assertNull(
            "Map.compute(present, functionReturningNull) should return null",
            getMap()
                .compute(
                    k0(),
                    (k, v) -> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top