All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

C

Calculator(String). Constructor for class com.datarp.calc.Calculator
Creates a new Calculator object with the given expression, with the default precision.
Calculator(String, int). Constructor for class com.datarp.calc.Calculator
Creates a new Calculator object with the given expression and precision.

E

evaluate(). Method in class com.datarp.calc.Calculator
Evaluates the expression.

G

getExpression(). Method in class com.datarp.calc.Calculator
Gets the current expression
getPrecision(). Method in class com.datarp.calc.Calculator
Gets the current precision

M

main(String[]). Static method in class com.datarp.calc.Calculator
A test routine.

S

setExpression(String). Method in class com.datarp.calc.Calculator
Sets the expression
setPrecision(int). Method in class com.datarp.calc.Calculator
Sets the precision.