Class Counting


  • public class Counting
    extends java.lang.Object
    This class is a tool for the limitation of time of a cycle in console
    • Constructor Summary

      Constructors 
      Constructor Description
      Counting​(ConsoleIO console, int maxNumber)  
      Counting​(ConsoleIO console, java.lang.String config, int maxNumber)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean count()
      This method returns a Boolean to control the execution of the cycle
      • Methods inherited from class java.lang.Object

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

      • Counting

        public Counting​(ConsoleIO console,
                        int maxNumber)
      • Counting

        public Counting​(ConsoleIO console,
                        java.lang.String config,
                        int maxNumber)
    • Method Detail

      • count

        public boolean count()
        This method returns a Boolean to control the execution of the cycle
        Returns:
        boolean