public static class SystemStopwatchFactory.SystemStopwatch extends Object implements Stopwatch
System.currentTimeMillis() to calculate elapsed time.
The unit of time is milliseconds| Constructor and Description |
|---|
SystemStopwatch() |
| Modifier and Type | Method and Description |
|---|---|
long |
getElapsedTime()
Elapsed milliseconds from
start(). |
Stopwatch |
start()
Start the stopwatch.
|
Copyright © 2019. All rights reserved.