Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToImmutableSortedMap_exceptionOnDuplicateKey (1.18 sec)

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

                .build();
        CollectorTester.of(collector, equivalence)
            .expectCollects(expected, mapEntry("one", 1), mapEntry("two", 2), mapEntry("three", 3));
      }
    
      public void testToImmutableSortedMap_exceptionOnDuplicateKey() {
        Collector<Entry<String, Integer>, ?, ImmutableSortedMap<String, Integer>> collector =
            toImmutableSortedMap(Ordering.natural(), Entry::getKey, Entry::getValue);
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
Back to top