Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Written by Gil Tene of Azul Systems, and released to the public domain, as explained at

Gil Tene
 package org.HdrHistogram;
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.
    int visitedBucketIndex;

Reset iterator for re-use in a fresh iteration over the same histogram data set.
    public void reset() {
    private void reset(final AbstractHistogram histogram) {
         = -1;
         = -1;


histogram The histogram this iterator will operate on
    public AllValuesIterator(final AbstractHistogram histogram) {
    void incrementIterationLevel() {
    boolean reachedIterationLevel() {
New to GrepCode? Check out our FAQ X