- java.lang.Object
-
- au.notzed.dez.demo.Stats
-
public class Stats extends java.lang.Object
Basic incremental stats accumulator.This may be used as a streaming collector/reducer.
-
-
Method Detail
-
add
public void add(int v)
-
addAll
public void addAll(Stats o)
-
getSum
public long getSum()
-
getMax
public int getMax()
-
getMin
public int getMin()
-
getMean
public double getMean()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-