Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for createArrayWithNullKey (0.2 sec)

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

        initMapWithNullKey();
        assertEquals(
            "put(present, value) should return the associated value",
            getValueForNullKey(),
            put(newEntry));
    
        Entry<K, V>[] expected = createArrayWithNullKey();
        expected[getNullLocation()] = newEntry;
        expectContents(expected);
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS)
      public void testPut_nullKeyUnsupported() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        initMapWithNullKey();
        assertEquals(
            "put(present, value) should return the associated value",
            getValueForNullKey(),
            put(newEntry));
    
        Entry<K, V>[] expected = createArrayWithNullKey();
        expected[getNullLocation()] = newEntry;
        expectContents(expected);
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS)
      public void testPut_nullKeyUnsupported() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top