Class MovingAverageFloat

java.lang.Object
com.prineside.tdi2.utils.MovingAverageFloat
All Implemented Interfaces:
KryoSerializable

public final class MovingAverageFloat extends Object implements KryoSerializable
  • Constructor Details

    • MovingAverageFloat

      public MovingAverageFloat(int maxEntries)
  • Method Details

    • write

      public void write(Kryo kryo, Output output)
      Specified by:
      write in interface KryoSerializable
    • read

      public void read(Kryo kryo, Input input)
      Specified by:
      read in interface KryoSerializable
    • push

      public void push(float v)
    • getAverage

      public float getAverage()
    • getCount

      public int getCount()
    • reset

      public void reset()