Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testForcePutNullValuePresent (0.14 sec)

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

        assertEquals(v1(), getMap().get(null));
        assertEquals(1, getMap().size());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(ONE)
      public void testForcePutNullValuePresent() {
        initMapWithNullValue();
    
        getMap().forcePut(k1(), null);
    
        expectContents(mapEntry(k1(), (V) null));
    
        assertFalse(getMap().containsKey(k0()));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top