Class IncludeMinMax.ItemsPair<T>
java.lang.Object
org.apache.datasketches.quantilescommon.IncludeMinMax.ItemsPair<T>
- Type Parameters:
T
- the item class type
- Enclosing class:
- IncludeMinMax
A simple structure to hold a pair of arrays
-
Field Summary
Modifier and TypeFieldDescriptionlong[]
The array of associated cumulative weightsT[]
The array of quantiles -
Constructor Summary
-
Method Summary
-
Field Details
-
quantiles
The array of quantiles -
cumWeights
public long[] cumWeightsThe array of associated cumulative weights
-
-
Constructor Details
-
ItemsPair
Constructor.- Parameters:
quantiles
- the array of quantilescumWeights
- the array of associated cumulative weights
-