- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getSubSet (0.11 sec)
-
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
int index = tailIndex(element, false); return (index == size()) ? null : elements.get(index); } @Override ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { return getSubSet(0, headIndex(toElement, inclusive)); } int headIndex(E toElement, boolean inclusive) { int index = Collections.binarySearch(elements, checkNotNull(toElement), comparator()); if (index >= 0) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 9.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
if (from == to) { return emptyMultiset(comparator()); } else if (from == 0 && to == length) { return this; } else { RegularImmutableSortedSet<E> subElementSet = elementSet.getSubSet(from, to); return new RegularImmutableSortedMultiset<>( subElementSet, cumulativeCounts, offset + from, to - from); } } @Override boolean isPartialView() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4.3K bytes - Viewed (0)