Class ExpressionVariableFacade.ExpressionOperatorVariable
java.lang.Object
org.cyclops.integrateddynamics.api.evaluate.expression.VariableAdapter<ValueTypeOperator.ValueOperator>
org.cyclops.integrateddynamics.core.item.ExpressionVariableFacade.ExpressionOperatorVariable
- All Implemented Interfaces:
IVariable<ValueTypeOperator.ValueOperator>, IVariableInvalidateListener
- Enclosing class:
ExpressionVariableFacade
public static class ExpressionVariableFacade.ExpressionOperatorVariable
extends VariableAdapter<ValueTypeOperator.ValueOperator>
Variable that holds an expression operator,
and propagates invalidation of referenced variables.
-
Constructor Summary
ConstructorsConstructorDescriptionExpressionOperatorVariable(ExpressionOperator operator, Collection<IVariable<?>> refs) -
Method Summary
Methods inherited from class VariableAdapter
addInvalidationListener, invalidate, removeInvalidationListener
-
Constructor Details
-
ExpressionOperatorVariable
-
-
Method Details
-
getType
- Returns:
- The type of value this variable provides.
-
getValue
- Returns:
- The current value of this variable.
- Throws:
EvaluationException- If something went wrong while evaluating
-