- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for TreeSet (0.05 sec)
-
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) -
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) -
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) -
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) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
} fun redactHeader(name: String) { val newHeadersToRedact = TreeSet(String.CASE_INSENSITIVE_ORDER) newHeadersToRedact += headersToRedact newHeadersToRedact += name headersToRedact = newHeadersToRedact } fun redactQueryParams(vararg name: String) { val newQueryParamsNameToRedact = TreeSet(String.CASE_INSENSITIVE_ORDER) newQueryParamsNameToRedact += queryParamsNameToRedact
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 11.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.7K bytes - Viewed (0) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
*/ package org.apache.maven.repository.metadata; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.util.ArrayList; import java.util.List; import java.util.TreeSet; import org.apache.maven.artifact.ArtifactScopeEnum; /** * Default conflict resolver.Implements closer newer first policy by default, but could be configured via plexus * */ @Named @Singleton
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
new RegularImmutableSortedSet<Object>( new TreeSet<Object>((Comparator<Object>) NATURAL_ORDER), false); static <E> ImmutableSortedSet<E> emptySet(Comparator<? super E> comparator) { checkNotNull(comparator); if (NATURAL_ORDER.equals(comparator)) { return of(); } else { return new RegularImmutableSortedSet<E>(new TreeSet<E>(comparator), false); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 16:21:24 UTC 2024 - 15.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
} }; } /** Uses a naturally-ordered {@link TreeSet} to store value collections. */ @SuppressWarnings("rawtypes") public SortedSetMultimapBuilder<K0, Comparable> treeSetValues() { return treeSetValues(Ordering.natural()); } /** * Uses a {@link TreeSet} ordered by the specified comparator to store value collections. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 17.5K bytes - Viewed (0)