Class RpCommandList

java.lang.Object
com.singularsys.extensions.fastreal.RpCommandList
All Implemented Interfaces:
Serializable

public final class RpCommandList extends Object implements Serializable
A list of commands
See Also:
  • 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

      public RpCommand getCommand(int i)
    • toString

      public String toString()
      Basic toString method.
      Overrides:
      toString in class Object
    • toString

      public 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