T - the type of statisticpublic interface AggregatableStatistic<T>
| Modifier and Type | Method and Description | 
|---|---|
default void | 
aggregate(Iterable<T> others)
Aggregates the results from the provided instances into this instance. 
 | 
default void | 
aggregate(T... others)
Aggregates the results from the provided instances into this instance. 
 | 
void | 
aggregate(T other)
Aggregates the provided instance into this instance. 
 | 
void aggregate(T other) throws NullArgumentException
This method can be used to combine statistics computed over partitions or subsamples - i.e., the value of this instance after this operation should be the same as if a single statistic would have been applied over the combined dataset.
other - the instance to aggregate into this instanceNullArgumentException - if the input is nulldefault void aggregate(T... others)
This method can be used to combine statistics computed over partitions or subsamples - i.e., the value of this instance after this operation should be the same as if a single statistic would have been applied over the combined dataset.
others - the other instances to aggregate into this instanceNullArgumentException - if either others or any instance is nulldefault void aggregate(Iterable<T> others)
This method can be used to combine statistics computed over partitions or subsamples - i.e., the value of this instance after this operation should be the same as if a single statistic would have been applied over the combined dataset.
others - the other instances to aggregate into this instanceNullArgumentException - if either others or any instance is nullCopyright © 2016–2017 Hipparchus.org. All rights reserved.