Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testForcePutNullKeyPresent (0.11 sec)

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

        assertFalse(getMap().containsKey(k1()));
        assertFalse(getMap().containsValue(v0()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      @CollectionSize.Require(ONE)
      public void testForcePutNullKeyPresent() {
        initMapWithNullKey();
    
        getMap().forcePut(null, v1());
    
        expectContents(mapEntry((K) null, v1()));
    
        assertFalse(getMap().containsValue(v0()));
    
    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