Creates a new contents iterator. Note that the iterator needs to be positioned using startUnion before it can be safely used.
Returns the current CellID.
Clears all state with respect to which range(s) have been visited.
Reports if all (CellID, label) pairs have been visited.
Returns the current Label.
Advances the iterator to the next (CellID, label) pair covered by the current leaf cell range. This requires the iterator to not be done.
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.
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.