package nl.tudelft.simulation.dsol.process; import nl.tudelft.simulation.dsol.interpreter.process.InterpretableProcess; /** * The specifies *
* copyright (c) 2004-2019 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();
}
}