JScience v4.3

org.jscience.mathematics.function
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 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.

Version:
3.0, February 13, 2006
Author:
Jean-Marie Dautelle
See Also:
Function.evaluate()

Nested Class Summary
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).
 
Method Summary
 java.lang.String getSymbol()
          Returns the symbol for this variable.
 
Methods inherited from interface javolution.lang.Reference
get, set
 

Method Detail

getSymbol

java.lang.String getSymbol()
Returns the symbol for this variable.

Returns:
this variable's symbol.

JScience v4.3

Copyright © 2006 JScience.