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 java.lang.Object implements GeneralUtils.SmoothAverage
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SmoothAverage1()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValue(long v)
long
getAverage()
-
-
-
Field Detail
-
average
final Average average
-
interval
final int interval
-
-
Method Detail
-
addValue
public void addValue(long v)
- Specified by:
addValue
in interfaceGeneralUtils.SmoothAverage
-
getAverage
public long getAverage()
- Specified by:
getAverage
in interfaceGeneralUtils.SmoothAverage
-
-