Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testForcePutKeyPresent (0.23 sec)

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

        getMap().put(k0(), v0());
        getMap().put(k1(), v1());
        expectAdded(e0(), e1());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ONE)
      public void testForcePutKeyPresent() {
        getMap().forcePut(k0(), v1());
        expectContents(mapEntry(k0(), v1()));
        assertFalse(getMap().containsValue(v0()));
        assertNull(getMap().inverse().get(v0()));
        assertEquals(1, getMap().size());
    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