Colt 1.0.3

edu.oswego.cs.dl.util.concurrent
Class FJTask.Seq

java.lang.Object
  |
  +--edu.oswego.cs.dl.util.concurrent.FJTask
        |
        +--edu.oswego.cs.dl.util.concurrent.FJTask.Seq
All Implemented Interfaces:
Runnable
Enclosing class:
FJTask

public static class FJTask.Seq
extends FJTask

A new Seq, when executed, invokes each task provided in the constructor, in order. The class is a simple utility that makes it easier to create composite FJTasks.


Inner classes inherited from class edu.oswego.cs.dl.util.concurrent.FJTask
FJTask.Par, FJTask.Par2, FJTask.Seq, FJTask.Seq2, FJTask.Wrap
 
Constructor Summary
FJTask.Seq(FJTask[] tasks)
          Construct a Seq that, when executed, will process each of the tasks in the tasks array in order
FJTask.Seq(FJTask task1, FJTask task2)
          Two-task constructor, for compatibility with previous release.
 
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, start, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FJTask.Seq

public FJTask.Seq(FJTask[] tasks)
Construct a Seq that, when executed, will process each of the tasks in the tasks array in order

FJTask.Seq

public FJTask.Seq(FJTask task1,
                  FJTask task2)
Two-task constructor, for compatibility with previous release.
Method Detail

run

public void run()

Colt 1.0.3

Submit a bug or feature. Check the Colt home page for the latest news.