| Constructor and Description |
|---|
Timer.Task() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the task.
|
boolean |
isScheduled()
Returns true if this task is scheduled to be executed in the future by a timer.
|
abstract void |
run()
If this is the last time the task will be ran or the task is first cancelled, it may be scheduled again in this method.
|
public abstract void run()
run in interface java.lang.Runnablepublic void cancel()
public boolean isScheduled()