1、定时器Timer类和TimerTask类
Timer类:
public Timer()
public void schedule(TimerTask task,long delay)
public void schedule(TimerTask task,long delay,long period)
period void cancel()
1、定时器Timer类和TimerTask类
Timer类:
public Timer()
public void schedule(TimerTask task,long delay)
public void schedule(TimerTask task,long delay,long period)
period void cancel()