Package jasima.shopSim.core
Class Route
- java.lang.Object
-
- jasima.shopSim.core.Route
-
public class Route extends Object
Simple container for Operations.
-
-
Constructor Summary
Constructors Constructor Description Route()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSequentialOperation(Operation op)protected Objectclone()Operation[]getOperations()intnumOperations()Operationoperation(int i)List<Operation>operations()Operation[]ops()voidsetOperations(Operation[] ops)
-
-
-
Method Detail
-
operation
public Operation operation(int i)
-
addSequentialOperation
public void addSequentialOperation(Operation op)
-
numOperations
public int numOperations()
-
ops
public Operation[] ops()
-
getOperations
public Operation[] getOperations()
-
setOperations
public void setOperations(Operation[] ops)
-
clone
protected Object clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-