Class RpCommandList
java.lang.Object
com.singularsys.extensions.fastreal.RpCommandList
- All Implemented Interfaces:
Serializable
A list of commands
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCommand(short command) voidaddCommand(short command, short aux) Adds a command to the listgetCommand(int i) inttoString()Basic toString method.Enhanced RpCommand to String conversion.
-
Constructor Details
-
RpCommandList
public RpCommandList()Package private constructor
-
-
Method Details
-
addCommand
public void addCommand(short command, short aux) Adds a command to the list -
addCommand
public void addCommand(short command) -
getNumCommands
public int getNumCommands() -
getCommand
-
toString
Basic toString method. -
toString
Enhanced RpCommand to String conversion. Used when rpe instance is available, prints the values of the constants, variables and functions.- Parameters:
rpe- an RpEval instance to use- Returns:
- String representation, one command per line
-