Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testInsertionOrderAfterRemoveMiddle (0.15 sec)

  1. android/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())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. 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())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top