Interface StoppableTimer
-
- All Known Implementing Classes:
SimpleActiveTimer
public interface StoppableTimer
A timer that can be stopped.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Duration
stopTimer()
Stop the timer, and obtain the elapsed time since it was started.
-
-
-
Method Detail
-
stopTimer
Duration stopTimer()
Stop the timer, and obtain the elapsed time since it was started.- Returns:
- The elapsed time since the timer was started.
-
-