public abstract class BinaryFunction extends Object implements Function
| Constructor and Description |
|---|
BinaryFunction() |
| Modifier and Type | Method and Description |
|---|---|
Value |
evaluate(ValueFactory valueFactory,
Value... args)
Evaluate the function over the supplied input arguments, using the supplied
ValueFactory to produce the
result. |
protected abstract Value |
evaluate(ValueFactory valueFactory,
Value arg1,
Value arg2) |
public Value evaluate(ValueFactory valueFactory, Value... args) throws ValueExprEvaluationException
FunctionValueFactory to produce the
result.evaluate in interface FunctionvalueFactory - a ValueFactory to use for producing the function result.args - the function input arguments.ValueExprEvaluationExceptionprotected abstract Value evaluate(ValueFactory valueFactory, Value arg1, Value arg2) throws ValueExprEvaluationException
ValueExprEvaluationExceptionCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.