CSP for Java
(JCSP) 1.0-rc4

jcsp.lang
Class Sequential

java.lang.Object
  |
  +--jcsp.lang.Sequential
All Implemented Interfaces:
CSProcess

Deprecated. Use Sequence.

public class Sequential
extends Object
implements CSProcess

This constructor taks an array of CSProcesses and returns a CSProcess that is the sequential composition of its process arguments.

Description

Please see and use Sequence instead of this class.

Author:
P.D.Austin
See Also:
CSProcess, Parallel, Sequence

Constructor Summary
Sequential()
          Deprecated. Construct a new Sequential object initially without any processes.
Sequential(CSProcess[] processes)
          Deprecated. Construct a new Sequential object with the processes specified.
 
Method Summary
 void addProcess(CSProcess process)
          Deprecated. Add the process to the Sequential object.
 void addProcess(CSProcess[] processes)
          Deprecated. Add the array of processes to the Sequential construct.
 void removeProcess(CSProcess process)
          Deprecated. Remove a process from the Sequential construct.
 void run()
          Deprecated. Run the sequential composition of the processes registered with this Sequential object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sequential

public Sequential()
Deprecated. 
Construct a new Sequential object initially without any processes.

Sequential

public Sequential(CSProcess[] processes)
Deprecated. 
Construct a new Sequential object with the processes specified.
Parameters:
processes - the processes to be executed in sequence
Method Detail

addProcess

public void addProcess(CSProcess process)
Deprecated. 
Add the process to the Sequential object. The extended network will be executed the next time run() is invoked.
Parameters:
process - The CSProcess to be added

addProcess

public void addProcess(CSProcess[] processes)
Deprecated. 
Add the array of processes to the Sequential construct. The extended network will be executed the next time run() is invoked.
Parameters:
processes - the processes to be added

removeProcess

public void removeProcess(CSProcess process)
Deprecated. 
Remove a process from the Sequential construct. The cutdown network will be executed the next time run() is invoked.
Parameters:
process - the process to be removed

run

public void run()
Deprecated. 
Run the sequential composition of the processes registered with this Sequential object.
Specified by:
run in interface CSProcess

CSP for Java
(JCSP) 1.0-rc4

Submit a bug or feature to jcsp-team@ukc.ac.uk
Version 1.0-rc4 of the JCSP API Specification (Copyright 1997-2000 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.