Package com.biglybt.core.util
Class GeneralUtils.SmoothAverage1
java.lang.Object
com.biglybt.core.util.GeneralUtils.SmoothAverage1
- All Implemented Interfaces:
GeneralUtils.SmoothAverage
- Enclosing class:
GeneralUtils
private static class GeneralUtils.SmoothAverage1
extends Object
implements GeneralUtils.SmoothAverage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
average
-
interval
final int interval
-
-
Constructor Details
-
SmoothAverage1
private SmoothAverage1()
-
-
Method Details
-
addValue
public void addValue(long v) - Specified by:
addValue
in interfaceGeneralUtils.SmoothAverage
-
getAverage
public long getAverage()- Specified by:
getAverage
in interfaceGeneralUtils.SmoothAverage
-