- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testToMultiset (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
public void testToSortedSet_removeDuplicates() { assertThat(fluent(1, 4, 1, 3).toSortedSet(Ordering.<Integer>natural().reverse())) .containsExactly(4, 3, 1) .inOrder(); } public void testToMultiset() { assertThat(fluent(1, 2, 1, 3, 2, 4).toMultiset()).containsExactly(1, 1, 2, 2, 3, 4).inOrder(); } public void testToMultiset_empty() { assertThat(fluent().toMultiset()).isEmpty(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.5K bytes - Viewed (0)