Class ExprCalc

java.lang.Object
  |
  +--ExprCalc

public class ExprCalc
extends java.lang.Object


Constructor Summary
ExprCalc(java.lang.String input)
          Construcor, takes a String representing the expression
 
Method Summary
 double getResult()
          returns the calculated value of the expression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExprCalc

public ExprCalc(java.lang.String input)
         throws SyntaxErrorException
Construcor, takes a String representing the expression
Method Detail

getResult

public double getResult()
returns the calculated value of the expression