| Modifier and Type | Method and Description |
|---|---|
ExpressionBuilder |
ExpressionBuilder.withCustomFunction(CustomFunction function)
add a custom function instance for the evaluator to recognize
|
ExpressionBuilder |
ExpressionBuilder.withCustomFunctions(Collection<CustomFunction> functions) |
ExpressionBuilder |
ExpressionBuilder.withExpression(String expression)
set the mathematical expression for parsing
|
ExpressionBuilder |
ExpressionBuilder.withOperation(CustomOperator operation)
set a
CustomOperator to be used in the expression |
ExpressionBuilder |
ExpressionBuilder.withOperations(Collection<CustomOperator> operations)
set a
Collection of CustomOperator to use in the expression |
ExpressionBuilder |
ExpressionBuilder.withVariable(String variableName,
double value)
set the value for a variable
|
ExpressionBuilder |
ExpressionBuilder.withVariableNames(String... variableNames)
set the variables names used in the expression without setting their values
|
ExpressionBuilder |
ExpressionBuilder.withVariables(Map<String,Double> variableMap)
set the values for variables
|
Copyright © 2013. All Rights Reserved.