public abstract class TimerTask
The TimerTask class represents a task to run at a specified time. The task may be run once or repeatedly.
TimerTask代表了一个在特定时间运行的任务。该任务可能运行一次或多次。
| boolean | cancel()
Cancels the
TimerTask and removes it from the Timer's queue. |
| abstract void | run()
The task to run should be specified in the implementation of the
run() method. |
| long | scheduledExecutionTime()
Returns the scheduled execution time.
|

浙公网安备 33010602011771号