Interface Evaluator
- All Known Implementing Classes:
FastEvaluator
public interface Evaluator
A common interface for expression evaluators
-
Method Summary
-
Method Details
-
evaluate
- Returns:
- the value of the expression evaluated in x
- Throws:
ExpressionParseException- if there were errors while parsing the expression
-
evaluate
- Returns:
- the values of the expression evaluated in x[0]..x[n]
- Throws:
ExpressionParseException- if there were errors while parsing the expression
-
evaluate
evaluates x[0]..x[n] into an user-supplied array y. Useful to minimize object creation.- Throws:
ExpressionParseException- if there were errors while parsing the expressionIllegalArgumentException- if the two arrays have different sizes
-
getHelpURL
URL getHelpURL()- Returns:
- a help URL for this evaluator
-