- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for SortedSet (0.12 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
@Override protected SortedSet<Integer> create(Integer[] elements) { return checkedCreate(nullCheckedTreeSet(elements)); } } public static class ContiguousSetHeadsetGenerator extends AbstractContiguousSetGenerator { @Override protected SortedSet<Integer> create(Integer[] elements) { SortedSet<Integer> set = nullCheckedTreeSet(elements);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15.6K bytes - Viewed (0) -
android/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);
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/ImmutableSortedSetTest.java
SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); SortedSet<String> subset = set.subSet("c", "e"); SortedSet<String> copy = copyOf(subset); assertEquals(subset, copy); } public void testCopyOf_headSet() { SortedSet<String> set = of("e", "a", "f", "b", "d", "c"); SortedSet<String> headset = set.headSet("d"); SortedSet<String> copy = copyOf(headset); assertEquals(headset, copy); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 46.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
public Test testsForTreeSetWithComparator() { return NavigableSetTestSuiteBuilder.using( new TestStringSortedSetGenerator() { @Override public SortedSet<String> create(String[] elements) { SortedSet<String> set = new TreeSet<>(arbitraryNullFriendlyComparator()); Collections.addAll(set, elements); return set; } })
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
@Override protected SortedSet<Integer> create(Integer[] elements) { return checkedCreate(nullCheckedTreeSet(elements)); } } public static class ContiguousSetHeadsetGenerator extends AbstractContiguousSetGenerator { @Override protected SortedSet<Integer> create(Integer[] elements) { SortedSet<Integer> set = nullCheckedTreeSet(elements);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultisetTest.java
ms.add("a", 1); ms.add("b", 3); ms.add("c", 2); ms.add("d", 1); ms.add("e", 3); ms.add("f", 2); SortedSet<String> elementSet = ms.elementSet(); assertThat(elementSet).containsExactly("a", "b", "c", "d", "e", "f").inOrder(); SortedSet<String> subset = elementSet.subSet("b", "f"); assertThat(subset).containsExactly("b", "c", "d", "e").inOrder(); assertTrue(subset.remove("c"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 12.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java
public class SortedSetNavigationTester<E extends @Nullable Object> extends AbstractSetTester<E> { private SortedSet<E> sortedSet; private List<E> values; private @Nullable E a; private @Nullable E b; private @Nullable E c; @Override public void setUp() throws Exception { super.setUp(); sortedSet = (SortedSet<E>) getSet(); values = copyToList( getSubjectGenerator()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
super(map); } @Override abstract SortedSet<V> createCollection(); @Override SortedSet<V> createUnmodifiableEmptyCollection() { return unmodifiableCollectionSubclass(createCollection()); } @Override <E extends @Nullable Object> SortedSet<E> unmodifiableCollectionSubclass( Collection<E> collection) { if (collection instanceof NavigableSet) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.5K bytes - Viewed (0)