public static class Variable.Local<X> extends java.lang.Object implements Variable<X>
Variable
implementation for
functions not shared between threads (non static).
Functions shared between multiple-threads should use a different
type of variable such as Variable.Global
.Variable.Global<X>, Variable.Local<X>
Constructor and Description |
---|
Local(java.lang.String symbol)
Creates a new local variable with a unique symbol.
|
Modifier and Type | Method and Description |
---|---|
X |
get() |
java.lang.String |
getSymbol()
Returns the symbol for this variable.
|
void |
set(X arg0) |
public Local(java.lang.String symbol)
symbol
- the variable symbol.