| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
The serialVersionUID
|
protected StopWatch |
watch |
| Modifier and Type | Method and Description |
|---|---|
long |
getAverageLapTime()
Get the average lap time since the watch was started.
|
int |
getLapCount()
Get the lap count.
|
long |
getLapTime()
Get the elapsed lap time since the watch was started.
|
long |
getTime()
Get the elapsed time since the watch was created or last reset.
|
boolean |
isRunning()
Check if the watch is running.
|
void |
reset()
Reset the watch.
|
void |
start()
Start the watch.
|
void |
start(boolean reset)
Start the watch.
|
long |
stop()
Stop the watch.
|
java.lang.String |
toString()
Return a string representation.
|
clone, makeSynchronizedprivate static final long serialVersionUID
protected StopWatch watch
public Wrapper(StopWatch watch)
public void start(boolean reset)
StopWatchpublic void start()
StopWatchpublic long stop()
StopWatchpublic void reset()
StopWatchpublic long getLapTime()
StopWatchgetLapTime in class StopWatchpublic long getAverageLapTime()
StopWatchgetAverageLapTime in class StopWatchpublic int getLapCount()
StopWatchgetLapCount in class StopWatchpublic long getTime()
StopWatchpublic boolean isRunning()
StopWatch