Class Variable<V extends IValue>
java.lang.Object
org.cyclops.integrateddynamics.api.evaluate.expression.VariableAdapter<V>
org.cyclops.integrateddynamics.core.evaluate.variable.Variable<V>
- All Implemented Interfaces:
IVariable<V>
,IVariableInvalidateListener
A default variable implementation.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.cyclops.integrateddynamics.api.evaluate.expression.VariableAdapter
addInvalidationListener, invalidate
-
Constructor Details
-
Variable
-
Variable
-
-
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
-
equals
-
hashCode
public int hashCode()
-