public class DoubleAllValuesIterator extends Object implements Iterator<DoubleHistogramIterationValue>
DoubleHistogram 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.| Constructor and Description |
|---|
DoubleAllValuesIterator(DoubleHistogram histogram) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
DoubleHistogramIterationValue |
next() |
void |
remove() |
void |
reset()
Reset iterator for re-use in a fresh iteration over the same histogram data set.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic DoubleAllValuesIterator(DoubleHistogram histogram)
histogram - The histogram this iterator will operate onpublic void reset()
public boolean hasNext()
hasNext in interface Iterator<DoubleHistogramIterationValue>public DoubleHistogramIterationValue next()
next in interface Iterator<DoubleHistogramIterationValue>public void remove()
remove in interface Iterator<DoubleHistogramIterationValue>Copyright © 2016. All rights reserved.