T
- Type of object for histogram.H
- Type of histogram that can be used in math operations with this histogram.public interface Histogram<T,H extends Histogram<T,H>> extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addElement(T val)
Add object to histogram.
|
Set<Integer> |
buckets() |
Optional<Double> |
getValue(Integer bucketId) |
boolean |
isEqualTo(H other)
Compares histogram with other and returns true if they are equals
|
H |
plus(H other) |
void addElement(T val)
val
- Value.Optional<Double> getValue(Integer bucketId)
bucketId
- Bucket id.boolean isEqualTo(H other)
other
- Other histogram.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024