public class LogicalAndOperator extends ExpressionOperator
Constructor and Description |
---|
LogicalAndOperator(String symbol,
int precedence) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(Iterator<Object> operands,
JIPipeExpressionVariablesMap variables)
Evaluates the operator
|
ParameterInfo |
getParameterInfo(int index)
Returns info about the parameter at index (left to right)
|
public LogicalAndOperator(String symbol, int precedence)
public Object evaluate(Iterator<Object> operands, JIPipeExpressionVariablesMap variables)
ExpressionOperator
evaluate
in class ExpressionOperator
operands
- the operands (contains booleans)variables
- the evaluation contextpublic ParameterInfo getParameterInfo(int index)
ExpressionOperator
getParameterInfo
in class ExpressionOperator
index
- the parameter indexCopyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.