1 package net.sf.openrocket.util.exp4j;
4 * This is the basic result class of the exp4j {@link ExpressionBuilder}
9 public interface Calculable {
11 * calculate the result of the expression
13 * @return the result of the calculation
15 public double calculate();
18 * return the expression in reverse polish postfix notation
20 * @return the expression used to construct this {@link Calculable}
22 public String getExpression();
25 * set a variable value for the calculation
30 * the value of the variable
32 public void setVariable(String name, double value);