Class AllValuesIterator

  • All Implemented Interfaces:
    java.util.Iterator<HistogramIterationValue>

    public class AllValuesIterator
    extends AbstractHistogramIterator
    implements java.util.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 Detail

      • visitedIndex

        int visitedIndex
    • Constructor Detail

      • AllValuesIterator

        public AllValuesIterator​(AbstractHistogram histogram)
        Parameters:
        histogram - The histogram this iterator will operate on