... | | | |_____ GameServiceImpl//接口实现类 | | | |______ TimerTask//定时任务对象 | | | |_____ ImageUtil//图片工具类 ...
基于22个网页-相关网页
Each of the schedule methods takes an object extending the TimerTask class as its first parameter.
每个schedule方法都采用一个扩展了timertask类的对象作为自己的第一个参数。
The TimerTask class has a cancel method that you can use to cancel subsequent invocations of the task.
timertask类有一个cancel方法,可以用它取消对任务的后续调用。
With the Timer class, you can have a TimerTask that runs for a long time, blocking other tasks from running.
借助timer类,您可以拥有一个长时间运行的TimerTask,阻止其他任务运行。
应用推荐