EDU.oswego.cs.dl.util.concurrent
public static class FJTask.Par2 extends FJTask
new Par(task1, task2)
, when executed,
runs task1 and task2 in parallel using coInvoke(task1, task2).
The class is a simple utility
that makes it easier to create composite Tasks.
Field Summary | |
---|---|
protected FJTask | fst |
protected FJTask | snd |
Constructor Summary | |
---|---|
Par2(FJTask task1, FJTask task2) |
Method Summary | |
---|---|
void | run() |