- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testToSortedList_withComparator (0.12 seconds)
-
guava-tests/test/com/google/common/collect/FluentIterableTest.java
assertEquals(Lists.newArrayList(1, 2, 3, 4), fluent(1, 2, 3, 4).toList()); } public void testToList_empty() { assertTrue(fluent().toList().isEmpty()); } public void testToSortedList_withComparator() { assertEquals( Lists.newArrayList(4, 3, 2, 1), fluent(4, 1, 3, 2).toSortedList(Ordering.<Integer>natural().reverse())); } public void testToSortedList_withDuplicates() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0)