- All Implemented Interfaces:
Consumer<Var<T>>
Closure to obtain
Var value.
- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors
Instantiate with initial value for
Var.
-
Method Summary
void
Obtains the value of the
Var.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CompileVar
public CompileVar()
No initial value.
-
CompileVar
public CompileVar(T initialValue)
Instantiate with initial value for
Var.
- Parameters:
initialValue - Initial value.
-
Method Details
-
getValue
Obtains the value of the
Var.
- Returns:
- Value of the
Var.
-