Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for toSet (0.02 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GenerateReleaseNotesTask.java

    import java.util.Map;
    import java.util.Set;
    import javax.inject.Inject;
    
    import static java.util.Comparator.naturalOrder;
    import static java.util.stream.Collectors.toList;
    import static java.util.stream.Collectors.toSet;
    
    /**
     * Orchestrates the steps required to generate or update various release notes files.
     */
    public class GenerateReleaseNotesTask extends DefaultTask {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 12.9K bytes
    - Click Count (0)
  2. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                functionalTests: List<BaseGradleBuildType>,
            ) {
                val splitSubProjectNames = functionalTests.map { it.getSubProjectSplitName() }.toSet()
                val expectedProjectNames = (1..functionalTests.size).map { "${subProjectName}_$it" }.toSet()
                assertEquals(expectedProjectNames, splitSubProjectNames)
            }
    
            fun assertCorrectParameters(
                subProjectName: String,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 16 01:27:05 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

    import org.eclipse.sisu.Nullable;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    import org.slf4j.helpers.MessageFormatter;
    
    import static java.util.stream.Collectors.toSet;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultMaven implements Maven {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        private final Lookup lookup;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
  4. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                                        value
                                            .map {
                                                Os.valueOf(it.uppercase(Locale.US))
                                            }.toSet()
                                }.toMap()
                        PerformanceTestGroup(testProject, coverage)
                    }
                PerformanceTestConfiguration(testId, groups)
            }
        }
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 29 01:37:22 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/reflect/ClassPath.java

      /**
       * Returns all classes loadable from the current class path.
       *
       * @since 16.0
       */
      public ImmutableSet<ClassInfo> getAllClasses() {
        return FluentIterable.from(resources).filter(ClassInfo.class).toSet();
      }
    
      /**
       * Returns all top level classes loadable from the current class path. Note that "top-level-ness"
       * is determined heuristically by class name (see {@link ClassInfo#isTopLevel}).
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testToSet() {
        assertThat(fluent(1, 2, 3, 4).toSet()).containsExactly(1, 2, 3, 4).inOrder();
      }
    
      public void testToSet_removeDuplicates() {
        assertThat(fluent(1, 2, 1, 2).toSet()).containsExactly(1, 2).inOrder();
      }
    
      public void testToSet_empty() {
        assertTrue(fluent().toSet().isEmpty());
      }
    
      public void testToSortedSet() {
    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)
  7. android/guava/src/com/google/common/collect/FluentIterable.java

       * @since 14.0 (since 12.0 as {@code toImmutableSet()}).
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final ImmutableSet<@NonNull E> toSet() {
        return ImmutableSet.copyOf((Iterable<@NonNull E>) getDelegate());
      }
    
      /**
       * Returns an {@code ImmutableSortedSet} containing all of the elements from this {@code
    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)
  8. guava/src/com/google/common/collect/FluentIterable.java

       * @since 14.0 (since 12.0 as {@code toImmutableSet()}).
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final ImmutableSet<@NonNull E> toSet() {
        return ImmutableSet.copyOf((Iterable<@NonNull E>) getDelegate());
      }
    
      /**
       * Returns an {@code ImmutableSortedSet} containing all of the elements from this {@code
    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)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

                .map(File::getName)
                .map(name -> name.substring(0, name.length() - 6))
                .filter(this::implementsNamingConvention)
                .collect(Collectors.toSet());
        }
    
        @TaskAction
        public void doCheck() throws IOException {
            final String problems;
    
            try (
                URLClassLoader isolatedClassLoader = new URLClassLoader(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

            projects.forEach { (path, info) ->
                val declaredComputed = info.details.computedRuntimes
                val actualComputed = computedTargetRuntimes[path] ?: mapOf()
    
                if (declaredComputed.toSet() != actualComputed.keys) {
                    if (shouldFix) {
                        when (val result = calculateBuildFileMutation(path, actualComputed.keys, info.buildFile)) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
Back to Top