Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getKeyForNullValue (0.14 sec)

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

            v3(),
            getMap()
                .merge(
                    getKeyForNullValue(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
                          "Should not call merge function if key was mapped to null");
                    }));
        expectReplacement(entry(getKeyForNullValue(), v3()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

            v3(),
            getMap()
                .merge(
                    getKeyForNullValue(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
                          "Should not call merge function if key was mapped to null");
                    }));
        expectReplacement(entry(getKeyForNullValue(), v3()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

            getMap().put(getKeyForNullValue(), null));
        expectContents(createArrayWithNullValue());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testPut_replaceNullValueWithNonNullSupported() {
        Entry<K, V> newEntry = entry(getKeyForNullValue(), v3());
        initMapWithNullValue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

            getMap().put(getKeyForNullValue(), null));
        expectContents(createArrayWithNullValue());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testPut_replaceNullValueWithNonNullSupported() {
        Entry<K, V> newEntry = entry(getKeyForNullValue(), v3());
        initMapWithNullValue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top