Class FloatsSortedViewIterator


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

      • FloatsSortedViewIterator

        public FloatsSortedViewIterator​(float[] quantiles,
                                        long[] cumWeights)
    • Method Detail

      • getQuantile

        public float 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.