Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for toSortedSet (0.22 sec)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/model/GradleDistribution.kt

        @get:Classpath
        val pluginJars: SortedSet<File>
            get() = filesIn("lib/plugins/*.jar")
    
        private
        fun filesIn(glob: String) = gradleHomeDir.asFileTree.matching {
            include(glob)
        }.files.toSortedSet()
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Dec 16 19:35:39 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

        @get:Classpath
        val jars: SortedSet<File>
            get() = localRepo.asFileTree.matching {
                include("**/*.jar")
                exclude("**/*-javadoc.jar")
            }.files.toSortedSet()
    
        /**
         * Make sure this stays type FileCollection (lazy) to avoid losing dependency information.
         */
        @get:InputFiles
        @get:PathSensitive(PathSensitivity.RELATIVE)
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Jul 01 22:53:59 GMT 2022
    - 8K bytes
    - Viewed (0)
  3. android/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();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  4. 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();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  5. 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()}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  6. 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> {@code ImmutableSortedSet.copyOf(comparator,
       * stream.iterator())}, or pass {@link ImmutableSortedSet#toImmutableSortedSet} to {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
Back to top