public interface Variable<X>
This interface represents a symbol on whose value a Function
depends. If the functions is not shared between multiple-threads the
simple Variable.Local
implementation can be used.
For global functions (functions used concurrently by multiple threads)
the Variable.Global
implementation with
context-local
settings is
recommended.
Function.evaluate()
Modifier and Type | Interface and Description |
---|---|
static class |
Variable.Global<X>
This class represents a simple
Variable implementation with
context-local values. |
static class |
Variable.Local<X>
This class represents a simple
Variable implementation for
functions not shared between threads (non static). |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSymbol()
Returns the symbol for this variable.
|
java.lang.String getSymbol()