Class WorkQueue


public class WorkQueue extends Object
A work queue maintains a list of tasks that need to be run. If the same task is added multiple times, the last occurrence of the task will be run(i.e. the task will be removed from it's previous location and aded to the end of the queue.