- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 84 for sortedSet (0.05 seconds)
-
android/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";
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Synchronized.java
} private static <E extends @Nullable Object> SortedSet<E> sortedSet( SortedSet<E> set, @Nullable Object mutex) { return new SynchronizedSortedSet<>(set, mutex); } static class SynchronizedSortedSet<E extends @Nullable Object> extends SynchronizedSet<E> implements SortedSet<E> { SynchronizedSortedSet(SortedSet<E> delegate, @Nullable Object mutex) { super(delegate, mutex); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 53K bytes - Click Count (0) -
guava/src/com/google/common/collect/Synchronized.java
} private static <E extends @Nullable Object> SortedSet<E> sortedSet( SortedSet<E> set, @Nullable Object mutex) { return new SynchronizedSortedSet<>(set, mutex); } static class SynchronizedSortedSet<E extends @Nullable Object> extends SynchronizedSet<E> implements SortedSet<E> { SynchronizedSortedSet(SortedSet<E> delegate, @Nullable Object mutex) { super(delegate, mutex); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
assertTrue(multimap.keySet() instanceof SortedSet); assertTrue(multimap.asMap() instanceof SortedMap); } public void testTreeKeys_gwtCompatible() { ListMultimap<String, Integer> multimap = rawtypeToWildcard(MultimapBuilder.treeKeys()).arrayListValues().<String, Integer>build(); assertTrue(multimap.keySet() instanceof SortedSet); assertTrue(multimap.asMap() instanceof SortedMap); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
TestSortedSetGenerator<E> delegate, Bound to, Bound from) { super(delegate, to, from); } @Override NavigableSet<E> createSubSet(SortedSet<E> sortedSet, E firstExclusive, E lastExclusive) { NavigableSet<E> set = (NavigableSet<E>) sortedSet; if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) { return set.headSet(lastInclusive, true);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 6.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
} } /** SortedSet decorator that stays in sync with the multimap values for a key. */ @WeakOuter class WrappedSortedSet extends WrappedCollection implements SortedSet<V> { WrappedSortedSet( @ParametricNullness K key, SortedSet<V> delegate, @Nullable WrappedCollection ancestor) { super(key, delegate, ancestor); } SortedSet<V> getSortedSetDelegate() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSortedSetGenerator.java
*/ package com.google.common.collect.testing; import static java.util.Collections.sort; import com.google.common.annotations.GwtCompatible; import java.util.List; import java.util.SortedSet; import org.jspecify.annotations.NullMarked; /** * Create integer sets for testing collections that are sorted by natural ordering. * * @author Chris Povirk * @author Jared Levy */ @GwtCompatible
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testFirst_sortedSet() { SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a"); assertThat(FluentIterable.from(sortedSet).first()).hasValue("a"); } public void testFirst_emptySortedSet() { SortedSet<String> sortedSet = ImmutableSortedSet.of(); assertThat(FluentIterable.from(sortedSet).first()).isAbsent(); } public void testFirst_iterable() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 30.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java
} @Override public @Nullable T pollLast() { return standardPollLast(); } @Override public SortedSet<T> headSet(T toElement) { return standardHeadSet(toElement); } @Override public SortedSet<T> tailSet(T fromElement) { return standardTailSet(fromElement); } } @AndroidIncompatible // test-suite buildersCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingNavigableSet.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtIncompatible; import java.util.Iterator; import java.util.NavigableSet; import java.util.SortedSet; import org.jspecify.annotations.Nullable; /** * A navigable set which forwards all its method calls to another navigable set. Subclasses should
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8.8K bytes - Click Count (0)