Class ContainerOperations.ContainerArgument
java.lang.Object
net.ssehub.easy.varModel.cstEvaluation.ContainerOperations.ContainerArgument
- Enclosing class:
ContainerOperations
A combined container value / accessor. Use
ContainerOperations.CA_POOL to obtain/release instances.- Author:
- Holger Eichelberger
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidclear()Clears this instance for reuse.(package private) EvaluationAccessorReturns the accessor.(package private) ContainerValuegetValue()Returns the container value.(package private) ContainerOperations.ContainerArgumentsetValues(ContainerValue value, EvaluationAccessor accessor) Sets the values of this argument.
-
Field Details
-
value
-
accessor
-
-
Constructor Details
-
ContainerArgument
private ContainerArgument()Creates a new instance. Prevents external instantiation.
-
-
Method Details
-
setValues
Sets the values of this argument. [reuse]- Parameters:
value- the container valueaccessor- the accessor- Returns:
- this
-
getValue
ContainerValue getValue()Returns the container value.- Returns:
- the container value
-
getAccessor
EvaluationAccessor getAccessor()Returns the accessor.- Returns:
- the accessor
-
clear
private void clear()Clears this instance for reuse.
-