Class MovingAverageInt

java.lang.Object
com.prineside.tdi2.utils.MovingAverageInt
All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable

public final class MovingAverageInt extends Object implements com.esotericsoftware.kryo.KryoSerializable
  • Constructor Details

    • MovingAverageInt

      public MovingAverageInt(int maxEntries)
  • Method Details

    • write

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

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

      public void push(int v)
    • getAverage

      public int getAverage()