See More

package JyCSP; import org.python.core.*; import JyCSP.Interfaces.JyCspSeqInterface; import JyCSP.util.CspFactory; /** * * @author Sam Wilson, Sarah Mount * @version 1.0 * * Java representation of the Jython Class Seq. * * * */ public class Seq extends PyObject implements JyCspSeqInterface{ /** * Java Seq Interface for the Jython Class Seq. */ protected JyCspSeqInterface jcsi; /** * Default constructor creates a Seq Object * * Makes a static call to CspFactory method creatJavaCspSeq * * @param args List of Processes */ public Seq(JavaCspProcess...args){ super(); this.jcsi = CspFactory.createJavaCspSeq(args); } /** * Straight through method call to Seq.Start() * * Starts the Seq */ public void start() { this.jcsi.start(); } }