public interface Expression
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
evaluate(java.lang.String expr)
Evaluate is the method to use when evaluating an expression.
|
void |
removeAllVariables()
Removes all global variables
|
void |
removeVariable(java.lang.String key)
Removes a previously set variable
|
void |
setVariable(java.lang.String key,
java.lang.Object value)
Sets a globally accessible variable for this instance
|
void setVariable(java.lang.String key,
java.lang.Object value)
key - the variable namevalue - the valuevoid removeVariable(java.lang.String key)
key - the variable namevoid removeAllVariables()
java.lang.Object evaluate(java.lang.String expr)
expr - the expression to evaluate