|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.metasyntactic.thread.concurrent.ForkJoinTask | +--org.metasyntactic.thread.concurrent.ForkJoinTask.Wrap
A ForkJoinTask that holds a Runnable r, and calls r.run when executed. The class is a simple utilty to allow arbitrary Runnables to be used as ForkJoinTasks.
Nested Class Summary |
Nested classes inherited from class org.metasyntactic.thread.concurrent.ForkJoinTask |
ForkJoinTask.Parallel, ForkJoinTask.Sequence, ForkJoinTask.Wrap |
Constructor Summary | |
ForkJoinTask.Wrap(java.lang.Runnable runnable)
|
Method Summary | |
void |
run()
|
Methods inherited from class org.metasyntactic.thread.concurrent.ForkJoinTask |
cancel, coInvoke, coInvoke, fork, getForkJoinTaskRunner, getForkJoinTaskRunnerGroup, invoke, isDone, join, parallel, reset, sequence, setDone, start, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ForkJoinTask.Wrap(java.lang.Runnable runnable)
Method Detail |
public void run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |