Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToImmutableMap_exceptionOnDuplicateKey_java7_combine (0.29 sec)

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

        assertMapEquals(zis.combine(zat).build(), "one", 1, "two", 2, "three", 3);
      }
    
      // TODO(b/172823566): Use mainline testToImmutableMap once CollectorTester is usable to java7.
      public void testToImmutableMap_exceptionOnDuplicateKey_java7_combine() {
        ImmutableMap.Builder<String, Integer> zis =
            ImmutableMap.<String, Integer>builder().put("one", 1).put("two", 2);
        ImmutableMap.Builder<String, Integer> zat =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
Back to top