Package org.datanucleus.management
Class AbstractStatistics.SMA
- java.lang.Object
-
- org.datanucleus.management.AbstractStatistics.SMA
-
- Enclosing class:
- AbstractStatistics
public static class AbstractStatistics.SMA extends Object
Simple Moving Average
-
-
Constructor Summary
Constructors Constructor Description SMA(int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
compute(double value)
Compute the moving average.double
currentAverage()
-