Class BooleanOperations.BinaryOperationEvaluator
java.lang.Object
net.ssehub.easy.varModel.cstEvaluation.BooleanOperations.BinaryOperationEvaluator
- All Implemented Interfaces:
IOperationEvaluator
- Enclosing class:
BooleanOperations
private static class BooleanOperations.BinaryOperationEvaluator
extends Object
implements IOperationEvaluator
Generically implements binary Boolean operations.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCreates a binary operation evaluator based on a binary boolean operation. -
Method Summary
Modifier and TypeMethodDescriptionevaluate(EvaluationAccessor operand, EvaluationAccessor[] arguments) Evaluates an operation.
-
Field Details
-
op
-
-
Constructor Details
-
BinaryOperationEvaluator
Creates a binary operation evaluator based on a binary boolean operation.- Parameters:
op- the operation to evaluate
-
-
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)
-