public DelayTask(long delay)
DelayTask.delay - the minimum delay between two taskspublic DelayTask(long delay,
int priority)
DelayTask with a given priority.delay - the minimum delay between two taskspriority - the priority of the executing threadpublic void execute(Runnable task)
task - the task to be executed