Interface Variable<X>
-
- All Superinterfaces:
javolution.lang.Reference<X>
- All Known Implementing Classes:
Variable.Global,Variable.Local
public interface Variable<X> extends javolution.lang.Reference<X>This interface represents a symbol on whose value a
Functiondepends. If the functions is not shared between multiple-threads the simpleVariable.Localimplementation can be used. For global functions (functions used concurrently by multiple threads) theVariable.Globalimplementation withcontext-localsettings is recommended.- See Also:
Function.evaluate()
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classVariable.Global<X>This class represents a simpleVariableimplementation withcontext-localvalues.static classVariable.Local<X>This class represents a simpleVariableimplementation for functions not shared between threads (non static).
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetSymbol()Returns the symbol for this variable.
-
-
-
Method Detail
-
getSymbol
String getSymbol()
Returns the symbol for this variable.- Returns:
- this variable's symbol.
-
-