Class FastEvaluator
java.lang.Object
jmva.eval.FastEvaluator
- All Implemented Interfaces:
Evaluator
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FastEvaluator
public FastEvaluator()
-
-
Method Details
-
evaluate
- Specified by:
evaluatein interfaceEvaluator- Returns:
- the value of the expression evaluated in x
- Throws:
ExpressionParseException- if there were errors while parsing the expression
-
evaluate
- Specified by:
evaluatein interfaceEvaluator- Returns:
- the values of the expression evaluated in x[0]..x[n]
- Throws:
ExpressionParseException- if there were errors while parsing the expression
-
evaluate
Description copied from interface:Evaluatorevaluates x[0]..x[n] into an user-supplied array y. Useful to minimize object creation.- Specified by:
evaluatein interfaceEvaluator- Throws:
ExpressionParseException- if there were errors while parsing the expression
-
getHelpURL
- Specified by:
getHelpURLin interfaceEvaluator- Returns:
- a help URL for this evaluator
-