Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.lsmp.djep.rpe
Class RpCommand

    java.lang.Object
      org.lsmp.djep.rpe.RpCommand

    public final class RpCommand

extends java.lang.Object

Data type for the command string

Method Summary
`double` | `getConstantValue()`
`java.lang.String` | `getFunction()`
`int` | `getRef()`
`int` | `getType()` Returns the type of an individual command.
`Variable` | `getVariable()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### getType

    public int getType()

  Returns the type of an individual command. The return value will be one of the constants defined in RpEval. These include RpEval.CONST - constants, RpEval.VAR - variables, RpEval.ASSIGN assinments x=..., RpEval.FUN functions. Other indicies correspond to unary and binary operators, RpEval.ADD.

  Returns:
    an integer representing the type

### getRef

    public int getRef()

### getConstantValue

    public double getConstantValue()
                            throws ParseException

  Throws:
    `ParseException`

### getVariable

    public Variable getVariable()
                         throws ParseException

  Throws:
    `ParseException`

### getFunction

    public java.lang.String getFunction()
                                 throws ParseException

  Throws:
    `ParseException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

http://www.singularsys.com/jep Copyright © 2007 Singular Systems