EDU.oswego.cs.dl.util.concurrent
Class FJTask.Wrap
java.lang.Object
EDU.oswego.cs.dl.util.concurrent.FJTask
EDU.oswego.cs.dl.util.concurrent.FJTask.Wrap
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- FJTask
- public static class FJTask.Wrap
- extends FJTask
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.
Method Summary |
void |
run()
|
Methods inherited from class EDU.oswego.cs.dl.util.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 |
runnable
protected final Runnable runnable
FJTask.Wrap
public FJTask.Wrap(Runnable r)
run
public void run()