public class StopWatch
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
StopWatch()
Instantiates a new stop watch.
|
Modifier and Type | Method and Description |
---|---|
long |
getTimeMeasured()
Returns the currently stopped time in milliseconds.
|
void |
reset()
Stopwatch reset.
|
void |
restart()
Stopwatch restart.
|
void |
start()
Stopwatch start.
|
void |
stop()
Stopwatch stop.
|
public void start()
public void stop()
public void restart()
public void reset()
public long getTimeMeasured()