Class ContainerOperations.FindOperationEvaluator
java.lang.Object
net.ssehub.easy.varModel.cstEvaluation.ContainerOperations.FindOperationEvaluator
- All Implemented Interfaces:
IOperationEvaluator
- Enclosing class:
ContainerOperations
static final class ContainerOperations.FindOperationEvaluator
extends Object
implements IOperationEvaluator
Implements the "includes"/"excludes" function.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(EvaluationAccessor operand, EvaluationAccessor[] arguments) Evaluates an operation.
-
Field Details
-
negate
private boolean negate
-
-
Constructor Details
-
FindOperationEvaluator
public FindOperationEvaluator(boolean negate) Creates a find operation evaluator.- Parameters:
negate- negate the result ("excludes") or use the derived result ("includes")
-
-
Method Details
-
evaluate
Description copied from interface:IOperationEvaluatorEvaluates an operation.- Specified by:
evaluatein interfaceIOperationEvaluator- Parameters:
operand- the operand valuearguments- the arguments to be used for the evaluation- Returns:
- the result of the operation (variable or value)
-