- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 52 for intersection (0.07 seconds)
-
guava/src/com/google/common/collect/ImmutableRangeSet.java
&& ranges.get(ceilingIndex).isConnected(otherRange) && !ranges.get(ceilingIndex).intersection(otherRange).isEmpty()) { return true; } return ceilingIndex > 0 && ranges.get(ceilingIndex - 1).isConnected(otherRange) && !ranges.get(ceilingIndex - 1).intersection(otherRange).isEmpty(); } @Override public boolean encloses(Range<C> otherRange) { int index =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
&& ranges.get(ceilingIndex).isConnected(otherRange) && !ranges.get(ceilingIndex).intersection(otherRange).isEmpty()) { return true; } return ceilingIndex > 0 && ranges.get(ceilingIndex - 1).isConnected(otherRange) && !ranges.get(ceilingIndex - 1).intersection(otherRange).isEmpty(); } @Override public boolean encloses(Range<C> otherRange) { int index =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ContiguousSet<Integer> emptySet = ContiguousSet.closedOpen(2, 2); assertEquals(ImmutableSet.of(), set.intersection(emptySet)); assertEquals(ImmutableSet.of(), emptySet.intersection(set)); assertEquals( ImmutableSet.of(), ContiguousSet.create(Range.closed(-5, -1), integers()) .intersection(ContiguousSet.create(Range.open(3, 64), integers()))); } public void testIntersection() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 19.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ContiguousSet<Integer> emptySet = ContiguousSet.closedOpen(2, 2); assertEquals(ImmutableSet.of(), set.intersection(emptySet)); assertEquals(ImmutableSet.of(), emptySet.intersection(set)); assertEquals( ImmutableSet.of(), ContiguousSet.create(Range.closed(-5, -1), integers()) .intersection(ContiguousSet.create(Range.open(3, 64), integers()))); } public void testIntersection() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 19.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
* * // impossible for a non-String to be in the intersection * SuppressWarnings("unchecked") * Set<String> badStrings = (Set) Sets.intersection(aFewBadObjects, manyBadStrings); * } * * <p>This is unfortunate, but should come up only very rarely. */ public static <E extends @Nullable Object> SetView<E> intersection(Set<E> set1, Set<?> set2) { checkNotNull(set1, "set1");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/RangeTest.java
assertEquals(range, range.intersection(range)); assertEquals(range, range.intersection(Range.atMost(4))); assertEquals(range, range.intersection(Range.atMost(3))); assertEquals(range, range.intersection(Range.atLeast(3))); assertEquals(range, range.intersection(Range.atLeast(2))); assertEquals(Range.closedOpen(3, 3), range.intersection(Range.lessThan(3)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
* * // impossible for a non-String to be in the intersection * SuppressWarnings("unchecked") * Set<String> badStrings = (Set) Sets.intersection(aFewBadObjects, manyBadStrings); * } * * <p>This is unfortunate, but should come up only very rarely. */ public static <E extends @Nullable Object> SetView<E> intersection(Set<E> set1, Set<?> set2) { checkNotNull(set1, "set1");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
assertEquals(range, range.intersection(range)); assertEquals(range, range.intersection(Range.atMost(4))); assertEquals(range, range.intersection(Range.atMost(3))); assertEquals(range, range.intersection(Range.atLeast(3))); assertEquals(range, range.intersection(Range.atLeast(2))); assertEquals(Range.closedOpen(3, 3), range.intersection(Range.lessThan(3)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
* returns a {@link FluentIterable} of elements of an anonymous type whose supertypes are the <a * href="https://docs.oracle.com/javase/specs/jls/se25/html/jls-4.html#jls-4.9">intersection</a> * of the supertypes of {@code A} and the supertypes of {@code B}. */ public void testConcatIntersectionType() { Iterable<A> aIterable = ImmutableList.of();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
import static com.google.common.collect.Iterables.getOnlyElement; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.Sets.intersection; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import static com.google.common.util.concurrent.Futures.allAsList;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0)