- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for NavigableSet (0.07 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) -
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) -
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) -
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) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
@GwtIncompatible public final class SafeTreeSet<E> implements Serializable, NavigableSet<E> { @SuppressWarnings("unchecked") private static final Comparator<Object> NATURAL_ORDER = new Comparator<Object>() { @Override public int compare(Object o1, Object o2) { return ((Comparable<Object>) o1).compareTo(o2); } }; private final NavigableSet<E> delegate; public SafeTreeSet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
} @GwtIncompatible // NavigableSet static <E extends @Nullable Object> NavigableSet<E> navigableSet( NavigableSet<E> navigableSet, @CheckForNull Object mutex) { return new SynchronizedNavigableSet<>(navigableSet, mutex); } @GwtIncompatible // NavigableSet static <E extends @Nullable Object> NavigableSet<E> navigableSet(NavigableSet<E> navigableSet) { return navigableSet(navigableSet, null);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
} @GwtIncompatible // NavigableSet static <E extends @Nullable Object> NavigableSet<E> navigableSet( NavigableSet<E> navigableSet, @CheckForNull Object mutex) { return new SynchronizedNavigableSet<>(navigableSet, mutex); } @GwtIncompatible // NavigableSet static <E extends @Nullable Object> NavigableSet<E> navigableSet(NavigableSet<E> navigableSet) { return navigableSet(navigableSet, null);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 57.2K bytes - Viewed (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.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Mar 09 00:21:17 UTC 2024 - 8.7K bytes - Viewed (0)