public static class AggregateFunctions.AggregateAverage extends Object implements NumericFunctionStateful
| Constructor and Description |
|---|
AggregateAverage() |
| Modifier and Type | Method and Description |
|---|---|
double |
calcAverage(double newValue,
double oldAverage) |
double |
reset()
A stateful function should be reset to initial state on receiving this
call.
|
public double calcAverage(double newValue,
double oldAverage)
public double reset()
NumericFunctionStatefulreset in interface NumericFunctionStatefulCopyright © 2019. All rights reserved.