- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCopyOfImmutableSortedSetDifferentComparator (0.59 sec)
-
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
assertMapEquals(copy, "two", 2, "three", 3, "one", 1); assertSame(copy, ImmutableSortedMap.copyOf(copy, comparator)); assertSame(comparator, copy.comparator()); } public void testCopyOfImmutableSortedSetDifferentComparator() { Comparator<String> comparator = Ordering.<String>natural().reverse(); Map<String, Integer> original = ImmutableSortedMap.of("one", 1, "two", 2, "three", 3);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0)