|
|||||||||
| PREV CLASS NEXT CLASS | All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Calculable
This is the basic result class of the exp4j ExpressionBuilder
| Method Summary | |
|---|---|
double |
eval()
calculate the result of the expression |
String |
getExpression()
return the expression in reverse polish postfix notation |
void |
setVariable(String name,
double value)
set a variable value for the calculation |
| Method Detail |
|---|
double eval()
String getExpression()
Calculable
void setVariable(String name,
double value)
name - the variable namevalue - the value of the variable
|
|||||||||
| PREV CLASS NEXT CLASS | All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||