Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCompute_nullKeyPresentToPresent (0.16 sec)

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

        assertEquals(getNumElements() - 1, getMap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      @CollectionSize.Require(absent = ZERO)
      public void testCompute_nullKeyPresentToPresent() {
        initMapWithNullKey();
        assertEquals(
            "Map.compute(present, functionReturningValue) should return new value",
            v3(),
            getMap()
                .compute(
    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

        assertEquals(getNumElements() - 1, getMap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      @CollectionSize.Require(absent = ZERO)
      public void testCompute_nullKeyPresentToPresent() {
        initMapWithNullKey();
        assertEquals(
            "Map.compute(present, functionReturningValue) should return new value",
            v3(),
            getMap()
                .compute(
    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