java.lang.Object
org.antublue.test.engine.internal.util.Timer

public final class Timer extends Object
Class to implement a Timer
  • Constructor Details

    • Timer

      public Timer()
      Constructor (autostarted)
    • Timer

      public Timer(boolean autoStart)
      Constructor
      Parameters:
      autoStart - autoStart
  • Method Details

    • start

      public Timer start()
      Method to start the Timer
      Returns:
      the return value
    • stop

      public Timer stop()
      Method to stop the Timer
      Returns:
      the return value
    • elapsedTime

      public long elapsedTime()
      Method to get the Timer's elapsed time
      Returns:
      the return value