Class Maximum.ForInteger

  • Enclosing interface:
    Maximum

    public static class Maximum.ForInteger
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ForInteger()  
      ForInteger​(int startingValue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int value)  
      int getMaxAndReset()  
      • Methods inherited from class java.lang.Object

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

      • ForInteger

        public ForInteger()
      • ForInteger

        public ForInteger​(int startingValue)
    • Method Detail

      • add

        public void add​(int value)
      • getMaxAndReset

        public int getMaxAndReset()