public final class Timer extends Object
Constructor and Description |
---|
Timer()
Create a new timer.
|
public Timer()
start()
explicitly.public boolean start()
false
iff the timer is already running.public boolean stop()
false
iff the timer is not running.public boolean reset()
false
iff the timer is currently running.public long getTime()
Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.