Package com.db4o.foundation
Class DynamicVariable<T>
- java.lang.Object
-
- com.db4o.foundation.DynamicVariable<T>
-
public class DynamicVariable<T> extends java.lang.Object
A dynamic variable is a value associated to a specific thread and scope. The value is brought into scope with thewith(T, com.db4o.foundation.Closure4)
method.
-
-
Constructor Summary
Constructors Constructor Description DynamicVariable()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
defaultValue()
static <T> DynamicVariable<T>
newInstance()
T
value()
void
value(T value)
java.lang.Object
with(T value, Closure4 block)
void
with(T value, java.lang.Runnable block)
-