Class RpCommand
java.lang.Object
com.singularsys.extensions.fastreal.RpCommand
- All Implemented Interfaces:
Serializable
Data type for the command string
- See Also:
-
Method Summary
-
Method Details
-
toString
-
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
-
getType
public short getType()Returns the type of the command. The return value will be one of the constants defined in RpEval. These includeRpEval.CONST- constants,RpEval.VAR- variables,RpEval.ASSIGNassignments x=...,RpEval.FUNfunctions. Other indices correspond to unary and binary operators,RpEval.ADD.- Returns:
- an integer representing the type
-
getRef
public short getRef()Additional data, the number of the constant, variable, operator or function.- Returns:
-