public static class Variable.Global<X> extends Object implements Variable<X>
Variable implementation with
context-local values.
Instances of this class can be set independently by multiple-threads
as long as each concurrent thread executes within a
LocalContext. For example:[code]
public abstract class Engine {
public static final Variable.GlobalVariable.Global<X>, Variable.Local<X>| Constructor and Description |
|---|
Global(String symbol)
Creates a new global variable with a unique symbol.
|
| Modifier and Type | Method and Description |
|---|---|
X |
get() |
String |
getSymbol()
Returns the symbol for this variable.
|
void |
set(X arg0) |