Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testInverseInsertionOrderAfterInverse (0.35 sec)

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

        map.inverse().forcePut(1, "quux");
        assertThat(map.entrySet())
            .containsExactly(Maps.immutableEntry("bar", 2), Maps.immutableEntry("quux", 1))
            .inOrder();
      }
    
      public void testInverseInsertionOrderAfterInverse() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("bar", 2);
        map.put("quux", 1);
    
        assertThat(map.inverse().entrySet())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top