|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.logicalcobwebs.concurrent.FJTask org.logicalcobwebs.concurrent.FJTask.Wrap
public static class FJTask.Wrap
A FJTask 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 FJTasks.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.logicalcobwebs.concurrent.FJTask |
---|
FJTask.Par, FJTask.Par2, FJTask.Seq, FJTask.Seq2, FJTask.Wrap |
Field Summary | |
---|---|
protected java.lang.Runnable |
runnable
|
Constructor Summary | |
---|---|
FJTask.Wrap(java.lang.Runnable r)
|
Method Summary | |
---|---|
void |
run()
|
Methods inherited from class org.logicalcobwebs.concurrent.FJTask |
---|
cancel, coInvoke, coInvoke, fork, getFJTaskRunner, getFJTaskRunnerGroup, invoke, isDone, join, par, par, reset, seq, seq, setDone, start, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.Runnable runnable
Constructor Detail |
---|
public FJTask.Wrap(java.lang.Runnable r)
Method Detail |
---|
public void run()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |