Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for TreeSet (0.05 seconds)

  1. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

         */
        private void updateFileIfChanged() throws IOException {
            String path = "META-INF/maven/org.apache.maven.api.di.Inject";
            Set<String> existingClasses = new TreeSet<>(); // Using TreeSet for natural ordering
            String existingContent = "";
    
            // Try to read existing content
            try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. build-tools-internal/src/test/java/org/elasticsearch/gradle/AbstractDistributionDownloadPluginTests.java

        protected static final BwcVersions BWC_MINOR = new BwcVersions(
            new TreeSet<>(Arrays.asList(BWC_BUGFIX_VERSION, BWC_MINOR_VERSION, BWC_MAJOR_VERSION)),
            BWC_MAJOR_VERSION
        );
        protected static final BwcVersions BWC_STAGED = new BwcVersions(
            new TreeSet<>(Arrays.asList(BWC_STAGED_VERSION, BWC_MINOR_VERSION, BWC_MAJOR_VERSION)),
            BWC_MAJOR_VERSION
        );
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 4.7K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      public SafeTreeSet() {
        this(new TreeSet<E>());
      }
    
      public SafeTreeSet(Collection<? extends E> collection) {
        this(new TreeSet<E>(collection));
      }
    
      public SafeTreeSet(Comparator<? super E> comparator) {
        this(new TreeSet<E>(comparator));
      }
    
      public SafeTreeSet(SortedSet<E> set) {
        this(new TreeSet<E>(set));
      }
    
      private SafeTreeSet(NavigableSet<E> delegate) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      public SafeTreeSet() {
        this(new TreeSet<E>());
      }
    
      public SafeTreeSet(Collection<? extends E> collection) {
        this(new TreeSet<E>(collection));
      }
    
      public SafeTreeSet(Comparator<? super E> comparator) {
        this(new TreeSet<E>(comparator));
      }
    
      public SafeTreeSet(SortedSet<E> set) {
        this(new TreeSet<E>(set));
      }
    
      private SafeTreeSet(NavigableSet<E> delegate) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java

        }
    
        private void debugDependencyRequirements(List<MojoExecution> mojoExecutions) {
            Set<String> scopesToCollect = new TreeSet<>();
            Set<String> scopesToResolve = new TreeSet<>();
    
            for (MojoExecution mojoExecution : mojoExecutions) {
                MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckContributorsInReleaseNotes.kt

    import java.util.TreeSet
    
    
    @DisableCachingByDefault(because = "Depends on GitHub API")
    abstract class CheckContributorsInReleaseNotes : AbstractCheckOrUpdateContributorsInReleaseNotes() {
        @TaskAction
        fun check() {
            val contributorsInReleaseNotes = TreeSet(getContributorsInReleaseNotes().map { it.login })
            val contributorsFromPullRequests = TreeSet(getContributorsFromPullRequests().map { it.login })
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:24 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/TreeMultimap.java

      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Creates an empty {@code TreeSet} for a collection of values for one key.
       *
       * @return a new {@code TreeSet} containing a collection of values for one key
       */
      @Override
      SortedSet<V> createCollection() {
        return new TreeSet<>(valueComparator);
      }
    
      @Override
      Collection<V> createCollection(@ParametricNullness K key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseNotesIndexGenerator.java

    import java.io.File;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.TreeSet;
    import java.util.stream.Collectors;
    
    import static java.util.Comparator.reverseOrder;
    
    /**
     * This class ensures that the release notes index page has the appropriate anchors and include directives
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DependencyContext.java

            scopesToResolveForCurrentProject = scopesToResolve;
            scopesToCollectForAggregatedProjects = Collections.synchronizedSet(new TreeSet<>());
            scopesToResolveForAggregatedProjects = Collections.synchronizedSet(new TreeSet<>());
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public Collection<String> getScopesToCollectForCurrentProject() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

    import com.google.caliper.Param;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Random;
    import java.util.Set;
    import java.util.TreeSet;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Provides supporting data for performance notes in the documentation of {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top