Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testPutPresentKeyDifferentValue (0.95 sec)

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

        // verify that the bimap is unchanged
        expectAdded(e0());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void testPutPresentKeyDifferentValue() {
        getMap().put(k0(), v0());
        getMap().put(k0(), v1());
        // verify that the bimap is changed, and that the old inverse mapping
        // from v1 -> v0 is deleted
        expectContents(mapEntry(k0(), v1()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top