- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testOf_comparator (0.21 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
public void testOf_ordering_dupes() { SortedSet<String> set = of("e", "a", "e", "f", "b", "b", "d", "a", "c"); assertThat(set).containsExactly("a", "b", "c", "d", "e", "f").inOrder(); } public void testOf_comparator() { SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); assertThat(set.comparator()).isEqualTo(Ordering.natural()); } public void testOf_headSet() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 46.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
public void testOf_ordering_dupes() { SortedSet<String> set = of("e", "a", "e", "f", "b", "b", "d", "a", "c"); assertThat(set).containsExactly("a", "b", "c", "d", "e", "f").inOrder(); } public void testOf_comparator() { SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); assertThat(set.comparator()).isEqualTo(Ordering.natural()); } public void testOf_headSet() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.2K bytes - Click Count (0)