Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for toSortedSet (0.06 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)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt

        val subprojects: SortedSet<String>,
        val parallelizationMethod: ParallelizationMethod,
    ) {
        constructor(subprojectList: List<String>, parallelizationMethod: ParallelizationMethod) : this(
            subprojectList.toSortedSet(),
            parallelizationMethod,
        )
    
        constructor(jsonObject: Map<String, Any>) : this(
            (jsonObject["subprojects"] as List<*>).map { it.toString() },
            ParallelizationMethod.fromJson(jsonObject),
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top