Interface AbstractVariableSet<T>

Type Parameters:
T - The type of the values of the variable (the one handled by the evaluator).
All Known Implementing Classes:
StaticVariableSet

public interface AbstractVariableSet<T>
An abstract variable set.
Javaluator supports expression that contains variables (for example sin(x)).
An AbstractVariableSet converts, during the expression evaluation, each variable to its value.
Author:
Jean-Marc Astesana
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String variableName)
    Gets the value of a variable.
  • Method Details

    • get

      T get(String variableName)
      Gets the value of a variable.
      Parameters:
      variableName - The name of a variable
      Returns:
      the variable's value or null if the variable is unknown