Class MinMaxAvgInt


  • public class MinMaxAvgInt
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MinMaxAvgInt()  
    • Method Summary

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

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

      • MinMaxAvgInt

        public MinMaxAvgInt()
    • Method Detail

      • add

        public void add​(int value)
      • diff

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

        public int getMin()
      • getMax

        public int getMax()
      • getTotal

        public int getTotal()
      • getAvg

        public int getAvg​(int count)