public class Alg2RPN
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String[] |
ALGKEYWORDS |
|
static java.lang.String |
LEGAL |
Legal characters for the ALG/RPN interpreter
|
static java.lang.String[] |
RPNKEYWORDS |
Reserved keywords for RPN interpreter
|
Constructor | Description |
---|---|
Alg2RPN() |
Modifier and Type | Method | Description |
---|---|---|
static void |
main(java.lang.String[] args) |
|
java.lang.String |
parseAlg2RPN(java.lang.String alg) |
Parse Algebraic expressions into RPN
|
public static final java.lang.String LEGAL
public static final java.lang.String[] RPNKEYWORDS
public static final java.lang.String[] ALGKEYWORDS
public static void main(java.lang.String[] args)
public java.lang.String parseAlg2RPN(java.lang.String alg) throws MathException
alg
- MathException