public interface Aggregator
Modifier and Type | Method and Description |
---|---|
void |
addValue(double value)
Adds the specified value to the storage of the current aggregator.
|
long |
getCount()
Gets the number of aggregated values.
|
double |
getResult()
Gets the result of the aggregation using stored values.
|
void |
reset()
Reset the state of the aggregator.
|
long getCount()
double getResult()
void addValue(double value)
value
- the value to aggregatevoid reset()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.