Class S2CellIdVector

All Implemented Interfaces:
Iterable<S2CellId>, Collection<S2CellId>, List<S2CellId>, SequencedCollection<S2CellId>

@GwtCompatible abstract class S2CellIdVector extends AbstractList<S2CellId>
A list of S2CellIds, and specialized methods for directly operating on the encoded form.
  • Constructor Details

    • S2CellIdVector

      S2CellIdVector()
  • Method Details

    • lowerBound

      abstract int lowerBound(S2CellId target)
      Returns the index of the first element x such that (x >= target), or AbstractCollection.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.