public class SystemStopwatchFactory extends Object implements StopwatchFactory
SystemStopwatchFactory.SystemStopwatch which uses System.currentTimeMillis().
The unit of time is milliseconds.| Modifier and Type | Class and Description |
|---|---|
static class |
SystemStopwatchFactory.SystemStopwatch
Uses
System.currentTimeMillis() to calculate elapsed time. |
| Constructor and Description |
|---|
SystemStopwatchFactory() |
public Stopwatch create()
create in interface StopwatchFactoryCopyright © 2022. All rights reserved.