Class S2CellIdVector

  • All Implemented Interfaces:
    java.lang.Iterable<S2CellId>, java.util.Collection<S2CellId>, java.util.List<S2CellId>

    @GwtCompatible
    abstract class S2CellIdVector
    extends java.util.AbstractList<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 
      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 element x such that (x >= target), or AbstractCollection.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.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
    • Constructor Detail

      • S2CellIdVector

        S2CellIdVector()
    • Method Detail

      • 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.