- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testSortedCopyOf_natural_empty (0.5 sec)
-
guava-tests/test/com/google/common/collect/ImmutableListTest.java
Collection<Integer> c = MinimalCollection.of(4, 16, 10, -1, 5); ImmutableList<Integer> list = ImmutableList.sortedCopyOf(c); assertEquals(asList(-1, 4, 5, 10, 16), list); } public void testSortedCopyOf_natural_empty() { Collection<Integer> c = MinimalCollection.of(); ImmutableList<Integer> list = ImmutableList.sortedCopyOf(c); assertEquals(asList(), list); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 23.2K bytes - Viewed (0)