Class RpCommandList
- java.lang.Object
-
- com.singularsys.extensions.fastreal.RpCommandList
-
- All Implemented Interfaces:
java.io.Serializable
public final class RpCommandList extends java.lang.Object implements java.io.Serializable
A list of commands- See Also:
RpEval
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RpCommandList()
Package private constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCommand(short command)
void
addCommand(short command, short aux)
Adds a command to the listRpCommand
getCommand(int i)
int
getNumCommands()
java.lang.String
toString()
Basic toString method.java.lang.String
toString(RpEval rpe)
Enhanced RpCommand to String conversion.
-
-
-
Method Detail
-
addCommand
public final void addCommand(short command, short aux)
Adds a command to the list
-
addCommand
public final void addCommand(short command)
-
getNumCommands
public int getNumCommands()
-
getCommand
public RpCommand getCommand(int i)
-
toString
public java.lang.String toString()
Basic toString method.- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.String toString(RpEval rpe)
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
-
-