Class StopWatch
java.lang.Object
org.antublue.test.engine.internal.util.StopWatch
Class to implement a stop watch
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StopWatch
public StopWatch()Constructor
-
-
Method Details
-
reset
ConstructorThe stop watch starts automatically
/ public StopWatch() { reset(); }
/** Method to reset the stop watch
- Returns:
- this
-
stop
Method to stop the stop watch- Returns:
- this
-
elapsedTime
Method to get the elapsed time in nanoseconds- Returns:
- the elapsed time in nanoseconds
-
equals
-
hashCode
public int hashCode()
-