public class RecordedValuesIterator extends AbstractHistogramIterator implements java.util.Iterator<HistogramIterationValue>
Modifier and Type | Field and Description |
---|---|
(package private) int |
visitedIndex |
arrayTotalCount, countAtThisValue, currentIndex, currentIterationValue, currentValueAtIndex, histogram, nextValueAtIndex, prevValueIteratedTo, totalCountToCurrentIndex, totalCountToPrevIndex, totalValueToCurrentIndex
Constructor and Description |
---|
RecordedValuesIterator(AbstractHistogram histogram) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
incrementIterationLevel() |
(package private) boolean |
reachedIterationLevel() |
void |
reset()
Reset iterator for re-use in a fresh iteration over the same histogram data set.
|
private void |
reset(AbstractHistogram histogram) |
getPercentileIteratedFrom, getPercentileIteratedTo, getValueIteratedTo, hasNext, incrementSubBucket, next, remove, resetIterator
public RecordedValuesIterator(AbstractHistogram histogram)
histogram
- The histogram this iterator will operate onpublic void reset()
private void reset(AbstractHistogram histogram)
void incrementIterationLevel()
incrementIterationLevel
in class AbstractHistogramIterator
boolean reachedIterationLevel()
reachedIterationLevel
in class AbstractHistogramIterator