Package org.eclipse.compare.internal
Class WorkQueue
java.lang.Object
org.eclipse.compare.internal.WorkQueue
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.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanadd(IRunnableWithProgress runnable) voidclear()booleancontains(IRunnableWithProgress runnable) booleanisEmpty()remove()booleanremove(IRunnableWithProgress runnable) intsize()
- 
Constructor Details- 
WorkQueuepublic WorkQueue()
 
- 
- 
Method Details- 
add
- 
clearpublic void clear()
- 
contains
- 
isEmptypublic boolean isEmpty()
- 
remove
- 
sizepublic int size()
- 
remove
 
-