public abstract class GenericOperator extends ExpressionOperator
Constructor and Description |
---|
GenericOperator(String symbol) |
GenericOperator(String symbol,
int precedence) |
Modifier and Type | Method and Description |
---|---|
abstract Object |
evaluate(Collection<Object> left,
Object right) |
abstract Object |
evaluate(double left,
double right) |
Object |
evaluate(Iterator<Object> operands,
ExpressionVariables variables)
Evaluates the operator
|
abstract Object |
evaluate(Map<Object,Object> left,
Object right) |
abstract Object |
evaluate(String left,
String right) |
getParameterInfo
public GenericOperator(String symbol)
public GenericOperator(String symbol, int precedence)
public Object evaluate(Iterator<Object> operands, ExpressionVariables variables)
ExpressionOperator
evaluate
in class ExpressionOperator
operands
- the operands (contains booleans)variables
- the evaluation contextpublic abstract Object evaluate(Collection<Object> left, Object right)
public abstract Object evaluate(double left, double right)
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.