Package com.google.common.geometry
Class S2CellIdVector
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<S2CellId>
-
- com.google.common.geometry.S2CellIdVector
-
-
Constructor Summary
Constructors Constructor Description S2CellIdVector()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description (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
-
-
-
-
Method Detail
-
lowerBound
abstract int lowerBound(S2CellId target)
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.
-
-