package nl.tudelft.simulation.dsol.process; import java.io.Serializable; import nl.tudelft.simulation.dsol.interpreter.process.InterpretableProcess; /** * The specifies *

* copyright (c) 2004-2021 Delft University of Technology , the Netherlands. *
* See for project information www.simulation.tudelft.nl/dsol
* License of use: General Public License (GPL) , no warranty
* @author Peter Jacobs * @since 1.5 */ class Cow extends InterpretableProcess { /** * constructs a new Cow. */ public Cow() { super(); } /** * moos */ public void moo() { System.out.println("moo"); } /** * executes the process */ public void process() { this.moo(); this.suspendProcess(); } /** {@inheritDoc} */ @Override public Serializable getSourceId() { return "Cow"; } }