Package com.google.common.geometry
Class S2CellIdVector
- All Implemented Interfaces:
Iterable<S2CellId>
,Collection<S2CellId>
,List<S2CellId>
,SequencedCollection<S2CellId>
A list of
S2CellId
s, 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 int
lowerBound
(S2CellId target) Returns the index of the first elementx
such 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, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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 elementx
such 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.
-