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.SerializableA 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 voidaddCommand(short command)voidaddCommand(short command, short aux)Adds a command to the listRpCommandgetCommand(int i)intgetNumCommands()java.lang.StringtoString()Basic toString method.java.lang.StringtoString(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:
toStringin 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
-
-