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
- 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.
- evaluate().
Method in class com.datarp.calc.Calculator
- Evaluates the expression.
- getExpression().
Method in class com.datarp.calc.Calculator
- Gets the current expression
- getPrecision().
Method in class com.datarp.calc.Calculator
- Gets the current precision
- main(String[]).
Static method in class com.datarp.calc.Calculator
- A test routine.
- setExpression(String).
Method in class com.datarp.calc.Calculator
- Sets the expression
- setPrecision(int).
Method in class com.datarp.calc.Calculator
- Sets the precision.