- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for subset7 (0.1 sec)
-
android/guava/src/com/google/common/collect/Sets.java
} } /** * Returns the set of all possible subsets of {@code set}. For example, {@code * powerSet(ImmutableSet.of(1, 2))} returns the set {@code {{}, {1}, {2}, {1, 2}}}. * * <p>Elements appear in these subsets in the same iteration order as they appeared in the input * set. The order in which these subsets appear in the outer set is undefined. Note that the power
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
SortedSet<String> subset = elementSet.subSet("b", "f"); assertThat(subset).containsExactly("b", "c", "d", "e").inOrder(); assertTrue(subset.remove("c")); assertThat(elementSet).containsExactly("a", "b", "d", "e", "f").inOrder(); assertThat(subset).containsExactly("b", "d", "e").inOrder(); assertEquals(10, ms.size()); assertFalse(subset.remove("a"));
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/SetsTest.java
assertEquals(ImmutableSortedSet.of(4, 6, 8, 10), Sets.subSet(set, Range.atLeast(4))); assertEquals(ImmutableSortedSet.of(8, 10), Sets.subSet(set, Range.atLeast(7))); assertEquals(empty, Sets.subSet(set, Range.atLeast(20))); assertEquals(set, Sets.subSet(set, Range.greaterThan(0))); assertEquals(ImmutableSortedSet.of(6, 8, 10), Sets.subSet(set, Range.greaterThan(4)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
assertThat(set.subSet(1, 4)).containsExactly(1, 2, 3).inOrder(); assertThat(set.subSet(2, 4)).containsExactly(2, 3).inOrder(); assertThat(set.subSet(3, 4)).containsExactly(3).inOrder(); assertThat(set.subSet(3, 3)).isEmpty(); assertThat(set.subSet(2, 3)).containsExactly(2).inOrder(); assertThat(set.subSet(1, 3)).containsExactly(1, 2).inOrder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultisetTest.java
SortedSet<String> subset = elementSet.subSet("b", "f"); assertThat(subset).containsExactly("b", "c", "d", "e").inOrder(); assertTrue(subset.remove("c")); assertThat(elementSet).containsExactly("a", "b", "d", "e", "f").inOrder(); assertThat(subset).containsExactly("b", "d", "e").inOrder(); assertEquals(10, ms.size()); assertFalse(subset.remove("a"));
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/ContiguousSetTest.java
assertThat(set.subSet(1, 4)).containsExactly(1, 2, 3).inOrder(); assertThat(set.subSet(2, 4)).containsExactly(2, 3).inOrder(); assertThat(set.subSet(3, 4)).containsExactly(3).inOrder(); assertThat(set.subSet(3, 3)).isEmpty(); assertThat(set.subSet(2, 3)).containsExactly(2).inOrder(); assertThat(set.subSet(1, 3)).containsExactly(1, 2).inOrder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
SortedSet<String> set = of("e"); assertTrue(set.subSet("c", "g") instanceof ImmutableSortedSet); assertThat(set.subSet("c", "g")).contains("e"); assertThat(set.subSet("e", "g")).contains("e"); assertSame(this.<String>of(), set.subSet("f", "g")); assertSame(this.<String>of(), set.subSet("c", "e")); assertSame(this.<String>of(), set.subSet("c", "d")); } public void testSingle_first() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 46.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
} else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) { return set.subSet(firstExclusive, false, lastExclusive, false); } else if (from == Bound.EXCLUSIVE && to == Bound.INCLUSIVE) { return set.subSet(firstExclusive, false, lastInclusive, true); } else if (from == Bound.INCLUSIVE && to == Bound.INCLUSIVE) { return set.subSet(firstInclusive, true, lastInclusive, true); } else {
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-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java
if (features.remove(CollectionFeature.ALLOWS_NULL_VALUES)) { // the null value might be out of bounds, so we can't always construct a subset with nulls features.add(CollectionFeature.ALLOWS_NULL_QUERIES); // but add null might still be supported if it happens to be within range of the subset suppressing.add(CollectionAddTester.getAddNullUnsupportedMethod());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java
if (features.remove(CollectionFeature.ALLOWS_NULL_VALUES)) { // the null value might be out of bounds, so we can't always construct a subset with nulls features.add(CollectionFeature.ALLOWS_NULL_QUERIES); // but add null might still be supported if it happens to be within range of the subset suppressing.add(CollectionAddTester.getAddNullUnsupportedMethod());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0)