- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 82 for sortedSet (0.04 sec)
-
android/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
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
} @Override public SortedSet<V> get(@ParametricNullness K key) { return Collections.unmodifiableSortedSet(delegate().get(key)); } @Override public SortedSet<V> removeAll(@Nullable Object key) { throw new UnsupportedOperationException(); } @Override public SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimaps.java
} @Override public SortedSet<V> get(@ParametricNullness K key) { return Collections.unmodifiableSortedSet(delegate().get(key)); } @Override public SortedSet<V> removeAll(@Nullable Object key) { throw new UnsupportedOperationException(); } @Override public SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals("bar", Iterables.getLast(diesOnIteratorList, "qux")); } public void testGetLast_emptySortedSet() { SortedSet<String> sortedSet = ImmutableSortedSet.of(); assertThrows(NoSuchElementException.class, () -> Iterables.getLast(sortedSet)); assertEquals("c", Iterables.getLast(sortedSet, "c")); } public void testGetLast_iterable() { Set<String> set = ImmutableSet.of("a", "b", "c");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
import java.io.Serializable; import java.util.Comparator; import java.util.Iterator; import java.util.Map; import java.util.NoSuchElementException; import java.util.Set; import java.util.SortedMap; import java.util.SortedSet; import java.util.TreeMap; import org.jspecify.annotations.Nullable; /** * Implementation of {@code Table} whose row keys and column keys are ordered by their natural
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.util.Collection; import java.util.LinkedHashSet; import java.util.Set; import java.util.SortedSet; /** * Optional features of classes derived from {@code Collection}. * * @author George van den Driessche */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeBasedTable.java
import java.io.Serializable; import java.util.Comparator; import java.util.Iterator; import java.util.Map; import java.util.NoSuchElementException; import java.util.Set; import java.util.SortedMap; import java.util.SortedSet; import java.util.TreeMap; import org.jspecify.annotations.Nullable; /** * Implementation of {@code Table} whose row keys and column keys are ordered by their natural
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java
/** Constructor for use by subclasses. */ protected ForwardingSortedMultiset() {} @Override protected abstract SortedMultiset<E> delegate(); @Override public SortedSet<E> elementSet() { return (SortedSet<E>) super.elementSet(); } /** * A sensible implementation of {@link SortedMultiset#elementSet} in terms of the following
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
} /* * TODO(kevinb): consider whether this "optimization" is worthwhile. Users with SortedSets tend * to know they are SortedSets and probably would not call this method. */ if (iterable instanceof SortedSet) { SortedSet<E> sortedSet = (SortedSet<E>) iterable; return Optional.of(sortedSet.last()); } while (true) { E current = iterator.next();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
} /* * TODO(kevinb): consider whether this "optimization" is worthwhile. Users with SortedSets tend * to know they are SortedSets and probably would not call this method. */ if (iterable instanceof SortedSet) { SortedSet<E> sortedSet = (SortedSet<E>) iterable; return Optional.of(sortedSet.last()); } while (true) { E current = iterator.next();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0)