Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                    NavigableSet<String> innerSet = new TreeSet<>();
                    Collections.addAll(innerSet, elements);
                    return Collections.checkedNavigableSet(innerSet, String.class);
                  }
                })
            .named("checkedNavigableSet/TreeSet, natural")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * Creates and returns a new instance of {@link TreeSet}.
         *
         * @param <E> the element type of {@link TreeSet}
         * @return a new instance of {@link TreeSet}
         * @see TreeSet#TreeSet()
         */
        public static <E> TreeSet<E> newTreeSet() {
            return new TreeSet<>();
        }
    
        /**
         * Creates and returns a new instance of {@link TreeSet}.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  5. 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)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                new TestStringSortedSetGenerator() {
                  @Override
                  public SortedSet<String> create(String[] elements) {
                    return new TreeSet<>(MinimalCollection.of(elements));
                  }
                })
            .named("TreeSet, natural")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.KNOWN_ORDER,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 15K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Sets.java

       * method has different behavior than {@link TreeSet#TreeSet(SortedSet)}, which returns a {@code
       * TreeSet} with that comparator.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code TreeSet} constructor directly, taking advantage of <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  8. 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)
  9. guava/src/com/google/common/collect/Sets.java

       * method has different behavior than {@link TreeSet#TreeSet(SortedSet)}, which returns a {@code
       * TreeSet} with that comparator.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code TreeSet} constructor directly, taking advantage of <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  10. 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)
Back to Top