|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.aplu.util.BaseTimer ch.aplu.util.LoResTimer
public class LoResTimer
Timer with low resolution (based on Date.getTime()) (Resolution normally less than 10 milliseconds.) (All methods (except constructors) call yield() of the current thread unless disabled by special constructor.)
Constructor Summary | |
---|---|
LoResTimer()
Construct a LoResTimer object and set its time to zero. |
|
LoResTimer(boolean autostart)
Same as LoResTimer(), but the timer starts immediately if autostart is true. |
|
LoResTimer(boolean autostart,
boolean yield)
Same as LoResTimer(autostart), but most methods calls Thread.yield() automatically, if yield is true. |
Method Summary |
---|
Methods inherited from class ch.aplu.util.BaseTimer |
---|
delay, getTime, isRunning, reset, resume, start, stop |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoResTimer()
public LoResTimer(boolean autostart)
public LoResTimer(boolean autostart, boolean yield)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |