Package org.HdrHistogram
Class DoubleAllValuesIterator
java.lang.Object
org.HdrHistogram.DoubleAllValuesIterator
- All Implemented Interfaces:
Iterator<DoubleHistogramIterationValue>
public class DoubleAllValuesIterator
extends Object
implements Iterator<DoubleHistogramIterationValue>
Used for iterating through
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.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) DoubleHistogramprivate final AllValuesIteratorprivate final DoubleHistogramIterationValue -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
integerAllValuesIterator
-
iterationValue
-
histogram
DoubleHistogram histogram
-
-
Constructor Details
-
DoubleAllValuesIterator
- Parameters:
histogram- The histogram this iterator will operate on
-
-
Method Details
-
reset
public void reset()Reset iterator for re-use in a fresh iteration over the same histogram data set. -
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<DoubleHistogramIterationValue>
-
next
- Specified by:
nextin interfaceIterator<DoubleHistogramIterationValue>
-
remove
public void remove()- Specified by:
removein interfaceIterator<DoubleHistogramIterationValue>
-