Class Stats


  • public class Stats
    extends java.lang.Object
    Basic incremental stats accumulator.

    This may be used as a streaming collector/reducer.

    • Constructor Summary

      Constructors 
      Constructor Description
      Stats()  
    • Constructor Detail

      • Stats

        public Stats()
    • 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 class java.lang.Object