Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for toSortedSet (0.05 seconds)

  1. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testToSortedSet() {
        assertThat(fluent(1, 4, 2, 3).toSortedSet(Ordering.<Integer>natural().reverse()))
            .containsExactly(4, 3, 2, 1)
            .inOrder();
      }
    
      public void testToSortedSet_removeDuplicates() {
        assertThat(fluent(1, 4, 1, 3).toSortedSet(Ordering.<Integer>natural().reverse()))
            .containsExactly(4, 3, 1)
            .inOrder();
      }
    
    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)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

       * {@code comparator.compare(x, y) == 0}) removed. To produce an {@code ImmutableSortedSet} sorted
       * by its natural ordering, use {@code toSortedSet(Ordering.natural())}.
       *
       * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableSortedSet#toImmutableSortedSet} to
       * {@code stream.collect()}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/FluentIterable.java

       * {@code comparator.compare(x, y) == 0}) removed. To produce an {@code ImmutableSortedSet} sorted
       * by its natural ordering, use {@code toSortedSet(Ordering.natural())}.
       *
       * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableSortedSet#toImmutableSortedSet} to
       * {@code stream.collect()}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
Back to Top