- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 40 for navigableSet (0.05 seconds)
-
android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java
new ForwardingWrapperTester() .testForwarding( NavigableSet.class, new Function<NavigableSet, NavigableSet>() { @Override public NavigableSet apply(NavigableSet delegate) { return wrap(delegate); } }); } public void testEquals() { NavigableSet<String> set1 = ImmutableSortedSet.of("one");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
NavigableSet<Integer> filtered = filter(createUnfiltered(contents), EVEN); NavigableSet<Integer> unfiltered = createUnfiltered(filtered); assertEquals(unfiltered.pollLast(), filtered.pollLast()); assertEquals(unfiltered, filtered); } } public void testNavigation() { for (List<Integer> contents : SAMPLE_INPUTS) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 13.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedMultisets.java
} @Override public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) { return new NavigableElementSet<>( multiset().headMultiset(toElement, BoundType.forBoolean(inclusive))); } @Override public NavigableSet<E> tailSet(@ParametricNullness E fromElement, boolean inclusive) { return new NavigableElementSet<>(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/src/com/google/common/collect/Sets.java
} } @GwtIncompatible // NavigableSet private static final class FilteredNavigableSet<E extends @Nullable Object> extends FilteredSortedSet<E> implements NavigableSet<E> { FilteredNavigableSet(NavigableSet<E> unfiltered, Predicate<? super E> predicate) { super(unfiltered, predicate); } NavigableSet<E> unfiltered() { return (NavigableSet<E>) unfiltered; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 81.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Synchronized.java
} @GwtIncompatible // NavigableSet static <E extends @Nullable Object> NavigableSet<E> navigableSet( NavigableSet<E> navigableSet, @Nullable Object mutex) { return new SynchronizedNavigableSet<>(navigableSet, mutex); } @GwtIncompatible // NavigableSet static <E extends @Nullable Object> NavigableSet<E> navigableSet(NavigableSet<E> navigableSet) { return navigableSet(navigableSet, null);
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
} @GwtIncompatible // NavigableSet static <E extends @Nullable Object> NavigableSet<E> navigableSet( NavigableSet<E> navigableSet, @Nullable Object mutex) { return new SynchronizedNavigableSet<>(navigableSet, mutex); } @GwtIncompatible // NavigableSet static <E extends @Nullable Object> NavigableSet<E> navigableSet(NavigableSet<E> navigableSet) { return navigableSet(navigableSet, null);
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/src/com/google/common/collect/AbstractMapBasedMultimap.java
@WeakOuter final class WrappedNavigableSet extends WrappedSortedSet implements NavigableSet<V> { WrappedNavigableSet( @ParametricNullness K key, NavigableSet<V> delegate, @Nullable WrappedCollection ancestor) { super(key, delegate, ancestor); } @Override NavigableSet<V> getSortedSetDelegate() { return (NavigableSet<V>) super.getSortedSetDelegate(); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 48.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/TreeMultimap.java
*/ @Override @GwtIncompatible // NavigableSet public NavigableSet<V> get(@ParametricNullness K key) { return (NavigableSet<V>) super.get(key); } /** * {@inheritDoc} * * <p>Because a {@code TreeMultimap} has unique sorted keys, this method returns a {@link * NavigableSet}, instead of the {@link java.util.Set} specified in the {@link Multimap} * interface.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractSortedMultiset.java
} AbstractSortedMultiset(Comparator<? super E> comparator) { this.comparator = checkNotNull(comparator); } @Override public NavigableSet<E> elementSet() { return (NavigableSet<E>) super.elementSet(); } @Override NavigableSet<E> createElementSet() { return new SortedMultisets.NavigableElementSet<>(this); } @Override public Comparator<? super E> comparator() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java
@Override public Comparator<? super E> comparator() { return delegate().comparator(); } @Override NavigableSet<E> createElementSet() { return unmodifiableNavigableSet(delegate().elementSet()); } @Override public NavigableSet<E> elementSet() { return (NavigableSet<E>) super.elementSet(); } @LazyInit private transient @Nullable UnmodifiableSortedMultiset<E> descendingMultiset;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4K bytes - Click Count (0)