Package com.google.common.geometry
Class S2CellIdVector
- All Implemented Interfaces:
Iterable<S2CellId>,Collection<S2CellId>,List<S2CellId>,SequencedCollection<S2CellId>
A list of
S2CellIds, and specialized methods for directly operating on the encoded form.-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract intlowerBound(S2CellId target) Returns the index of the first elementxsuch that(x >= target), orAbstractCollection.size()if no such element exists.Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, size, sort, spliterator, toArray, toArray
-
Constructor Details
-
S2CellIdVector
S2CellIdVector()
-
-
Method Details
-
lowerBound
Returns the index of the first elementxsuch that(x >= target), orAbstractCollection.size()if no such element exists.The list must be sorted into ascending order prior to making this call. If it is not sorted, the results are undefined.
-