-
-
Constructor Summary
Constructors
| Constructor and Description |
Timer() |
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
Timer |
start() |
long |
stop() |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
start
public Timer start()
-
stop
public long stop()
- Returns:
- the milliseconds elapsed since the timer was started, or zero if the timer was never started
Copyright © 2003-2014. All Rights Reserved.