Uses of Class
cn.sliew.milky.common.stopwatch.Stopwatch
-
Packages that use Stopwatch Package Description cn.sliew.milky.common.stopwatch -
-
Uses of Stopwatch in cn.sliew.milky.common.stopwatch
Methods in cn.sliew.milky.common.stopwatch that return Stopwatch Modifier and Type Method Description static StopwatchStopWatchs. createStarted()Creates (and starts) a new stopwatch usingSystem.nanoTime()as its time source.static StopwatchStopWatchs. createStarted(Ticker ticker)Creates (and starts) a new stopwatch, using the specified time source.static StopwatchStopWatchs. createUnstarted()Creates (but does not start) a new stopwatch usingSystem.nanoTime()as its time source.static StopwatchStopWatchs. createUnstarted(Ticker ticker)Creates (but does not start) a new stopwatch, using the specified time source.StopwatchStopwatch. reset()Sets the elapsed time for this stopwatch to zero, and places it in a stopped state.StopwatchStopwatch. start()Starts the stopwatch.StopwatchStopwatch. stop()Stops the stopwatch.
-