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
Function
ValueFactory
to produce the
result.evaluate
in interface Function
valueFactory
- a ValueFactory
to use for producing the function result.args
- the function input arguments.ValueExprEvaluationException
protected abstract Value evaluate(ValueFactory valueFactory, Value arg1, Value arg2) throws ValueExprEvaluationException
ValueExprEvaluationException
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.