- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testToSortedSet (0.09 seconds)
-
guava-tests/test/com/google/common/collect/FluentIterableTest.java
assertThat(fluent(1, 2, 1, 2).toSet()).containsExactly(1, 2).inOrder(); } public void testToSet_empty() { assertTrue(fluent().toSet().isEmpty()); } public void testToSortedSet() { assertThat(fluent(1, 4, 2, 3).toSortedSet(Ordering.<Integer>natural().reverse())) .containsExactly(4, 3, 2, 1) .inOrder(); } public void testToSortedSet_removeDuplicates() {
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)