- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 84 for sortedSet (0.06 seconds)
-
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
public void testEmpty_serialization() { SortedSet<String> set = new SafeTreeSet<>(); SortedSet<String> copy = SerializableTester.reserializeAndAssert(set); assertEquals(set.comparator(), copy.comparator()); } @GwtIncompatible // SerializableTester public void testSingle_serialization() { SortedSet<String> set = new SafeTreeSet<>(); set.add("e");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/StandardRowSortedTable.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 18 15:05:43 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedMultisets.java
return multiset().comparator(); } @Override public SortedSet<E> subSet(@ParametricNullness E fromElement, @ParametricNullness E toElement) { return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet(); } @Override public SortedSet<E> headSet(@ParametricNullness E toElement) { return multiset().headMultiset(toElement, OPEN).elementSet(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
delegate.subSet( checkValid(fromElement), fromInclusive, checkValid(toElement), toInclusive)); } @Override public SortedSet<E> subSet(E fromElement, E toElement) { return subSet(fromElement, true, toElement, false); } @Override public SortedSet<E> tailSet(E fromElement) { return tailSet(fromElement, true); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/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 ->Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Aug 06 05:33:11 GMT 2025 - 6.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
public Test testsForTreeSetWithComparator() { return NavigableSetTestSuiteBuilder.using( new TestStringSortedSetGenerator() { @Override public SortedSet<String> create(String[] elements) { SortedSet<String> set = new TreeSet<>(arbitraryNullFriendlyComparator()); Collections.addAll(set, elements); return set; } })
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 19.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java
if (result == null) { return comparator = Ordering.from(forwardMultiset().comparator()).reverse(); } return result; } @Nullable private transient SortedSet<E> elementSet; @Override public SortedSet<E> elementSet() { SortedSet<E> result = elementSet; if (result == null) { return elementSet = new SortedMultisets.ElementSet<E>(this); } return result; } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java
import java.util.Set; import java.util.SortedMap; import java.util.SortedSet; import org.jspecify.annotations.Nullable; /** * Basic implementation of a {@link SortedSetMultimap} with a sorted key set. * * <p>This superclass allows {@code TreeMultimap} to override methods to return navigable set and * map types in non-GWT only, while GWT code will inherit the SortedMap/SortedSet overrides. * * @author Louis Wasserman */ @GwtCompatibleCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
allEntries.addAll(extremeValues); allEntries.addAll(normalValues); SortedSet<E> set = delegate.create(allEntries.toArray()); return createSubSet(set, firstExclusive, lastExclusive); } /** Calls the smallest subSet overload that filters out the extreme values. */ SortedSet<E> createSubSet(SortedSet<E> set, E firstExclusive, E lastExclusive) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0)