Interface GenericSortedViewIterator<T>
-
- Type Parameters:
T- The generic quantile type
- All Superinterfaces:
SortedViewIterator
- All Known Implementing Classes:
ItemsSketchSortedViewIterator
public interface GenericSortedViewIterator<T> extends SortedViewIterator
The quantiles SortedView Iterator for generic types.- Author:
- Alexander Saydakov, Lee Rhodes
- See Also:
SortedViewIterator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetQuantile()Gets the quantile at the current index.-
Methods inherited from interface org.apache.datasketches.quantilescommon.SortedViewIterator
getCumulativeWeight, getN, getNormalizedRank, getWeight, next
-
-
-
-
Method Detail
-
getQuantile
T 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.
-
-