Class ContainerOperations.Container2OperationEvaluator
- java.lang.Object
-
- net.ssehub.easy.varModel.cstEvaluation.ContainerOperations.Container2OperationEvaluator
-
- All Implemented Interfaces:
IOperationEvaluator
- Enclosing class:
- ContainerOperations
static class ContainerOperations.Container2OperationEvaluator extends java.lang.Object implements IOperationEvaluator
Implements a container/container operation generically.
-
-
Field Summary
Fields Modifier and Type Field Description private ContainerOperations.Container2Operationop
-
Constructor Summary
Constructors Modifier Constructor Description protectedContainer2OperationEvaluator(ContainerOperations.Container2Operation op)Creates a container/container operation evaluator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationAccessorevaluate(EvaluationAccessor operand, EvaluationAccessor[] arguments)Evaluates an operation.
-
-
-
Field Detail
-
op
private ContainerOperations.Container2Operation op
-
-
Constructor Detail
-
Container2OperationEvaluator
protected Container2OperationEvaluator(ContainerOperations.Container2Operation op)
Creates a container/container operation evaluator.- Parameters:
op- the operation to be executed
-
-
Method Detail
-
evaluate
public EvaluationAccessor evaluate(EvaluationAccessor operand, EvaluationAccessor[] arguments)
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)
-
-