Class DotsProgress

  • All Implemented Interfaces:
    Progress

    public class DotsProgress
    extends java.lang.Object
    implements Progress
    Draws and updates a progress bar to standard out
    • Constructor Summary

      Constructors 
      Constructor Description
      DotsProgress​(long total)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void done()
      Call when another task has been completed
      void done​(int number)
      Call when more tasks have been completed
      • Methods inherited from class java.lang.Object

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

      • DotsProgress

        public DotsProgress​(long total)
        Constructor
        Parameters:
        total - The number of tasks to be done
    • Method Detail

      • done

        public void done()
        Call when another task has been completed
        Specified by:
        done in interface Progress
      • done

        public void done​(int number)
        Call when more tasks have been completed
        Specified by:
        done in interface Progress
        Parameters:
        number - The number of tasks completed