Class Average
java.lang.Object
com.djrapitops.plan.utilities.analysis.Average
Utility for averaging data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(double value) Add a new entry and check if save should be done.double
-
Constructor Details
-
Average
public Average()
-
-
Method Details
-
add
public void add(double value) Add a new entry and check if save should be done.- Parameters:
value
- TPS value
-
getAverageAndReset
public double getAverageAndReset()
-