Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDuplicateValues (0.12 sec)

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

        assertMapEquals(bimap, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5);
        assertMapEquals(bimap.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five");
      }
    
      public void testDuplicateValues() {
        ImmutableMap<String, Integer> map =
            new ImmutableMap.Builder<String, Integer>()
                .put("one", 1)
                .put("two", 2)
                .put("uno", 1)
                .put("dos", 2)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top