- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for navigableSet (0.24 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
return list; } @Override public Set<E> create(Object... elements) { NavigableSet<E> navigableSet = (NavigableSet<E>) delegate.create(elements); return navigableSet.descendingSet(); } }) .named(parentBuilder.getName() + " descending") .withFeatures(features)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.2K bytes - Viewed (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<>(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsFilterNavigableSetTest.java
import java.util.NavigableSet; public final class SetsFilterNavigableSetTest extends AbstractFilteredNavigableSetTest { @Override NavigableSet<Integer> createUnfiltered(Iterable<Integer> contents) { return Sets.newTreeSet(contents); } @Override NavigableSet<Integer> filter( NavigableSet<Integer> elements, Predicate<? super Integer> predicate) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 16 21:55:55 UTC 2022 - 1.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
resetWithHole(); assertEquals(null, navigableSet.lower(a)); assertEquals(a, navigableSet.lower(b)); assertEquals(a, navigableSet.lower(c)); } @CollectionSize.Require(SEVERAL) public void testFloorHole() { resetWithHole(); assertEquals(a, navigableSet.floor(a)); assertEquals(a, navigableSet.floor(b)); assertEquals(c, navigableSet.floor(c)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.4K bytes - Viewed (0) -
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");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
resetWithHole(); assertEquals(null, navigableSet.lower(a)); assertEquals(a, navigableSet.lower(b)); assertEquals(a, navigableSet.lower(c)); } @CollectionSize.Require(SEVERAL) public void testFloorHole() { resetWithHole(); assertEquals(a, navigableSet.floor(a)); assertEquals(a, navigableSet.floor(b)); assertEquals(c, navigableSet.floor(c)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DescendingMultiset.java
return comparator = Ordering.from(forwardMultiset().comparator()).<E>reverse(); } return result; } @LazyInit @CheckForNull private transient NavigableSet<E> elementSet; @Override public NavigableSet<E> elementSet() { NavigableSet<E> result = elementSet; if (result == null) { return elementSet = new SortedMultisets.NavigableElementSet<>(this); } return result; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 4.5K bytes - Viewed (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) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
return list; } @Override public Set<E> create(Object... elements) { NavigableSet<E> navigableSet = (NavigableSet<E>) delegate.create(elements); return navigableSet.descendingSet(); } }) .named(parentBuilder.getName() + " descending") .withFeatures(features)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableSet.java
return descendingIterator().next(); } @Override public NavigableSet<E> descendingSet() { return delegate().descendingSet(); } /** * A sensible implementation of {@link NavigableSet#descendingSet} in terms of the other methods * of {@link NavigableSet}, notably including {@link NavigableSet#descendingIterator}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 9K bytes - Viewed (0)