T - The generic quantile typepublic class GenericSortedViewIterator<T> extends SortedViewIterator
cumWeights, index, totalN| Constructor and Description |
|---|
GenericSortedViewIterator(T[] quantiles,
long[] cumWeights) |
| Modifier and Type | Method and Description |
|---|---|
T |
getQuantile()
Gets the quantile at the current index.
|
getN, getNaturalRank, getNormalizedRank, getWeight, nextpublic GenericSortedViewIterator(T[] quantiles, long[] cumWeights)
public T getQuantile()
Don't call this before calling next() for the first time or after getting false from next().
Copyright © 2015–2022 The Apache Software Foundation. All rights reserved.