Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testInverseInsertionOrderAfterInverseForcePut (0.2 sec)

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

        map.put("quux", 1);
    
        assertThat(map.inverse().entrySet())
            .containsExactly(immutableEntry(2, "bar"), immutableEntry(1, "quux"))
            .inOrder();
      }
    
      public void testInverseInsertionOrderAfterInverseForcePut() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.inverse().forcePut(1, "quux");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top