Class DoublesSortedViewIterator


  • public final class DoublesSortedViewIterator
    extends SortedViewIterator
    Iterator over quantile sketches of primitive type double.
    • Constructor Detail

      • DoublesSortedViewIterator

        public DoublesSortedViewIterator​(double[] quantiles,
                                         long[] cumWeights)
    • Method Detail

      • getQuantile

        public double getQuantile()
        Gets the quantile at the current index.

        Don't call this before calling next() for the first time or after getting false from next().

        Returns:
        the quantile at the current index.