Class MinMaxAvgDouble


  • public class MinMaxAvgDouble
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double max  
      private double min  
      private double total  
    • Constructor Summary

      Constructors 
      Constructor Description
      MinMaxAvgDouble()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(double value)  
      void add​(MinMaxAvgDouble other)  
      void diff​(double start, double end)  
      double getAvg​(double count)  
      double getMax()  
      double getMin()  
      double getTotal()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • min

        private double min
      • max

        private double max
      • total

        private double total
    • Constructor Detail

      • MinMaxAvgDouble

        public MinMaxAvgDouble()
    • Method Detail

      • add

        public void add​(double value)
      • diff

        public void diff​(double start,
                         double end)
      • getMin

        public double getMin()
      • getMax

        public double getMax()
      • getTotal

        public double getTotal()
      • getAvg

        public double getAvg​(double count)