java.lang.Object
com.djrapitops.plan.utilities.analysis.Average

public class Average extends Object
Utility for averaging data.
  • 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()