Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testInsertionOrderAfterRemoveMiddle (0.21 seconds)

  1. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        map.remove("foo");
        assertThat(map.entrySet())
            .containsExactly(immutableEntry("bar", 2), immutableEntry("quux", 3))
            .inOrder();
      }
    
      public void testInsertionOrderAfterRemoveMiddle() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("bar");
        assertThat(map.entrySet())
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
Back to Top