public class StopWatchHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
StopWatchHelper |
reset() |
static StopWatchHelper |
start()
StopWatchHelper watch = Helper.start(); do something long passedTimeInMs =
watch.time(); long passedTimeInSeconds = watch.time(TimeUnit.SECONDS);
|
long |
time() |
long |
time(TimeUnit unit) |
public static StopWatchHelper start()
public StopWatchHelper reset()
public long time()
public long time(TimeUnit unit)
Copyright © 2020. All rights reserved.