EDU.oswego.cs.dl.util.concurrent
public static class FJTask.Par extends FJTask
new Par
, when executed,
runs the tasks provided in the constructor in parallel using
coInvoke(tasks).
The class is a simple utility
that makes it easier to create composite FJTasks.FJTask.Par, FJTask.Par2, FJTask.Seq, FJTask.Seq2, FJTask.Wrap
Constructor and Description |
---|
FJTask.Par(FJTask[] tasks)
Construct a Seq that, when executed, will process each of the
tasks in the tasks array in parallel
|
FJTask.Par(FJTask task1,
FJTask task2)
Two-task constructor, for compatibility with previous release.
|