public static final class ZTimer.Timer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Timers.Timer |
delegate |
Constructor and Description |
---|
Timer(Timers.Timer delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel()
Cancels a timer.
|
boolean |
reset()
Reset the timer.
|
boolean |
setInterval(long interval)
Changes the interval of the timer.
|
private final Timers.Timer delegate
Timer(Timers.Timer delegate)
public boolean setInterval(long interval)
interval
- the new interval of the time.public boolean reset()
public boolean cancel()