Subclasses implement the periodicity, if needed. Two TimeTasks are compared with their neext execution time. @version $Revision: 1.3 $
3334353637383940414243
sleep(1000); final int sleep = 5000; // Post a task to simulate work TimeTask task = new TimeTask() { public void run() { sleep(sleep); }