Class AllValuesIterator

All Implemented Interfaces:
Iterator<HistogramIterationValue>

public class AllValuesIterator extends AbstractHistogramIterator implements Iterator<HistogramIterationValue>
Used for iterating through histogram values using the finest granularity steps supported by the underlying representation. The iteration steps through all possible unit value levels, regardless of whether or not there were recorded values for that value level, and terminates when all recorded histogram values are exhausted.
  • Field Details

    • visitedIndex

      int visitedIndex
  • Constructor Details

    • AllValuesIterator

      public AllValuesIterator(AbstractHistogram histogram)
      Parameters:
      histogram - The histogram this iterator will operate on
  • Method Details