- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 91 for sortedSet (0.15 sec)
-
android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
super(map); } @Override abstract SortedSet<V> createCollection(); @Override SortedSet<V> createUnmodifiableEmptyCollection() { return unmodifiableCollectionSubclass(createCollection()); } @Override <E extends @Nullable Object> SortedSet<E> unmodifiableCollectionSubclass( Collection<E> collection) { if (collection instanceof NavigableSet) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java
import java.util.SortedMap; import java.util.SortedSet; import org.checkerframework.checker.nullness.qual.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 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 1.8K bytes - Viewed (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) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.2K bytes - Viewed (0) -
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");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/StandardRowSortedTable.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jul 15 15:41:16 UTC 2021 - 4.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java
@Override public Comparator<? super E> comparator() { return delegate().comparator(); } @Override SortedSet<E> createElementSet() { return Collections.unmodifiableSortedSet(delegate().elementSet()); } @Override public SortedSet<E> elementSet() { return (SortedSet<E>) super.elementSet(); } private transient @Nullable UnmodifiableSortedMultiset<E> descendingMultiset; @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
} public static class Strings extends SampleElements<String> { public Strings() { // elements aren't sorted, to better test SortedSet iteration ordering super("b", "a", "c", "d", "e"); } // for testing SortedSet and SortedMap methods public static final String BEFORE_FIRST = "\0"; public static final String BEFORE_FIRST_2 = "\0\0";
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/SortedIterables.java
Comparator<?> comparator2; if (elements instanceof SortedSet) { comparator2 = comparator((SortedSet<?>) elements); } else if (elements instanceof SortedIterable) { comparator2 = ((SortedIterable<?>) elements).comparator(); } else { return false; } return comparator.equals(comparator2); } @SuppressWarnings("unchecked") // if sortedSet.comparator() is null, the set must be naturally ordered
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 30 10:33:07 UTC 2021 - 2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java
import java.util.List; import java.util.SortedSet; /** * Create integer sets for testing collections that are sorted by natural ordering. * * @author Chris Povirk * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class TestIntegerSortedSetGenerator extends TestIntegerSetGenerator { @Override protected abstract SortedSet<Integer> create(Integer[] elements);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java
import java.util.List; import java.util.SortedSet; /** * Create string sets for testing collections that are sorted by natural ordering. * * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class TestStringSortedSetGenerator extends TestStringSetGenerator implements TestSortedSetGenerator<String> { @Override public SortedSet<String> create(Object... elements) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 1.7K bytes - Viewed (0)