- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 20 for TreeSet (0.04 seconds)
-
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) -
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 <aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
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) -
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 <aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
private static class SortedSetSupplier extends CountingSupplier<TreeSet<Integer>> { @Override public TreeSet<Integer> getImpl() { return Sets.newTreeSet(INT_COMPARATOR); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } public void testNewSortedSetMultimap() { CountingSupplier<TreeSet<Integer>> factory = new SortedSetSupplier();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
* limitations under the License. */ package okhttp3 import java.time.Instant import java.util.Date import java.util.Locale import java.util.TreeMap import java.util.TreeSet import okhttp3.internal.commonAdd import okhttp3.internal.commonAddAll import okhttp3.internal.commonAddLenient import okhttp3.internal.commonBuild import okhttp3.internal.commonEquals import okhttp3.internal.commonGet
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 11.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return generateTreeSet(freshElement); } @Generates static <E extends Comparable<? super E>> TreeSet<E> generateTreeSet(E freshElement) { TreeSet<E> set = Sets.newTreeSet(); set.add(freshElement); return set; } @Generates static <E extends Comparable<? super E>> ImmutableSortedSet<E> generateImmutableSortedSet(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.1K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
import java.util.Map.Entry; import java.util.NavigableMap; import java.util.NavigableSet; import java.util.Set; import java.util.SortedMap; import java.util.SortedSet; import java.util.TreeMap; import java.util.TreeSet; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.TimeUnit; import java.util.regex.MatchResult; import java.util.regex.Pattern; import junit.framework.TestCase;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 17.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return generateTreeSet(freshElement); } @Generates static <E extends Comparable<? super E>> TreeSet<E> generateTreeSet(E freshElement) { TreeSet<E> set = Sets.newTreeSet(); set.add(freshElement); return set; } @Generates static <E extends Comparable<? super E>> ImmutableSortedSet<E> generateImmutableSortedSet(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Ordering.java
* * <p><b>Warning:</b> by definition, this comparator is not <i>consistent with equals</i> (as * defined {@linkplain Comparator here}). Avoid its use in APIs, such as {@link * TreeSet#TreeSet(Comparator)}, where such consistency is expected. * * <p>The returned comparator is serializable. * * <p><b>Java 8+ users:</b> Use the lambda expression {@code (a, b) -> 0} instead (in certain
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0)