Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for TreeSet (0.1 sec)

  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 {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Sep 16 06:25:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. 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;
    
    /**
     * Provides supporting data for performance notes in the documentation of {@link
     * Ordering#sortedCopy} and {@link Ordering#immutableSortedCopy}, as well as for automated code
     * suggestions.
     *
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. 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 })
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

            }
          }
        }
    
      private suspend fun readImportResults(): ImportResults =
        withContext(Dispatchers.IO) {
          val sortedRules: SortedSet<ByteString> = TreeSet()
          val sortedExceptionRules: SortedSet<ByteString> = TreeSet()
          var totalRuleBytes = 0
          var totalExceptionRuleBytes = 0
    
          fileSystem.source(publicSuffixListDotDat).buffer().use { source ->
            while (!source.exhausted()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. 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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. 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;
    
    /**
     * Provides supporting data for performance notes in the documentation of {@link
     * Ordering#sortedCopy} and {@link Ordering#immutableSortedCopy}, as well as for automated code
     * suggestions.
     *
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                if (visited.contains(node)) {
                    return;
                }
    
                cpc.add(md);
                //
                //            TreeSet<MetadataGraphEdge> deps = new TreeSet<MetadataGraphEdge>(
                //                        new Comparator<MetadataGraphEdge>()
                //                        {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java

    import java.util.SortedSet;
    import java.util.TreeSet;
    
    public final class SetsFilterSortedSetTest
        extends AbstractFilteredSortedSetTest<SortedSet<Integer>> {
      @Override
      SortedSet<Integer> createUnfiltered(Iterable<Integer> contents) {
        final TreeSet<Integer> result = Sets.newTreeSet(contents);
        // we have to make the result not Navigable
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

    import java.lang.reflect.Method;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NavigableSet;
    import java.util.TreeSet;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a NavigableSet. Can't be invoked directly; please
     * see {@code NavigableSetTestSuiteBuilder}.
     *
     * @author Jesse Wilson
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top