s2js
    Preparing search index...

    Class CellIndexContentsIterator

    An iterator that visits the (CellID, label) pairs that cover a set of leaf cell ranges (see CellIndexRangeIterator). Note that when multiple leaf cell ranges are visited, this iterator only guarantees that each result will be reported at least once, i.e. duplicate values may be suppressed. If you want duplicate values to be reported again, be sure to call clear() first.

    In particular, the implementation guarantees that when multiple leaf cell ranges are visited in monotonically increasing order, then each (CellID, label) pair is reported exactly once.

    Index

    Constructors

    Methods

    • Advances the iterator to the next (CellID, label) pair covered by the current leaf cell range. This requires the iterator to not be done.

      Returns void

    • Positions the ContentsIterator at the first (cellID, label) pair that covers the given leaf cell range. Note that when multiple leaf cell ranges are visited using the same ContentsIterator, duplicate values may be suppressed. If you don't want this behavior, call clear() first.

      Returns void