- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for RangeSet (0.12 sec)
-
android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java
assertThat(rangeSet.asRanges()).isEmpty(); assertThat(rangeSet.complement().asRanges()).containsExactly(Range.<Integer>all()); } public void testFillHoleExactly() { TreeRangeSet<Integer> rangeSet = TreeRangeSet.create(); rangeSet.add(Range.closedOpen(1, 3)); rangeSet.add(Range.closedOpen(4, 6)); rangeSet.add(Range.closedOpen(3, 4)); testInvariants(rangeSet);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 24.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
} /** Returns an immutable copy of the specified {@code RangeSet}. */ public static <C extends Comparable> ImmutableRangeSet<C> copyOf(RangeSet<C> rangeSet) { checkNotNull(rangeSet); if (rangeSet.isEmpty()) { return of(); } else if (rangeSet.encloses(Range.<C>all())) { return all(); } if (rangeSet instanceof ImmutableRangeSet) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
} RegularImmutableSortedSet<Range<K>> rangeSet = new RegularImmutableSortedSet<>(ranges, Range.<K>rangeLexOrdering()); return new ImmutableSortedMap<>(rangeSet, values); } @Override public ImmutableMap<Range<K>, V> asDescendingMapOfRanges() { if (ranges.isEmpty()) { return ImmutableMap.of(); } RegularImmutableSortedSet<Range<K>> rangeSet =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
@Override <K extends Comparable<K>> RangeSet<K> create(RangeSet<K> contents) { return TreeRangeSet.create(contents); } }, ImmutableRangeSetImpl { @Override <K extends Comparable<K>> RangeSet<K> create(RangeSet<K> contents) { return ImmutableRangeSet.copyOf(contents); } }; abstract <K extends Comparable<K>> RangeSet<K> create(RangeSet<K> contents); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
@Override <K extends Comparable<K>> RangeSet<K> create(RangeSet<K> contents) { return TreeRangeSet.create(contents); } }, ImmutableRangeSetImpl { @Override <K extends Comparable<K>> RangeSet<K> create(RangeSet<K> contents) { return ImmutableRangeSet.copyOf(contents); } }; abstract <K extends Comparable<K>> RangeSet<K> create(RangeSet<K> contents); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0)