- getDecimalSeparator() - Method in interface com.bestcode.mathparser.IMathParser
-
- getExpression() - Method in interface com.bestcode.mathparser.IMathParser
-
Please see setExpression() method to read about Expression property.
- getFunctionParamSeparator() - Method in interface com.bestcode.mathparser.IMathParser
-
- getFunctions() - Method in interface com.bestcode.mathparser.IMathParser
-
Returns an array of functions declared for this parser.
- getInvalidPortionOfExpression() - Method in exception com.bestcode.mathparser.ParserException
-
Returns the expression string that cannot be parsed.
- getLocale() - Method in interface com.bestcode.mathparser.IMathParser
-
Returns the locale of this parser instance.
- getNumberOfParams() - Method in interface com.bestcode.mathparser.IFunction
-
This method returns the length of the parameters array that will be
passed to the run(IParameter[]) method.
For example, for a function like F(X, Y, Z), this function should return 3.
- getNumberOfParams() - Method in class com.bestcode.mathparser.OneParamFunc
-
- getNumberOfParams() - Method in class com.bestcode.mathparser.TwoParamFunc
-
- getOptimizationOn() - Method in interface com.bestcode.mathparser.IMathParser
-
Set OptimizationOn to let the bcParser component evaluate constant expressions
at parse time.
- getSubExpression() - Method in exception com.bestcode.mathparser.ParserException
-
Returns the subexpression that is the immediate parent of the error portion.
For example, if the expression is 3+LN(MAX(4,))
then getInvalidPortionOfExpression() would return MAX(4,) and getSubExpression()
would return LN(MAX(4,))
The returned sub expressions may not exactly match the original string supplied
as the expression since space characters and paranthesis may be substituted for efficient
parsing.
- getValue() - Method in interface com.bestcode.mathparser.IMathParser
-
Value property (getValue() method) is an intuitive way of retrieving the value of the input expression.
- getValue() - Method in interface com.bestcode.mathparser.IParameter
-
- getValue(IMathParser, String) - Method in interface com.bestcode.mathparser.IVariableResolver
-
getValue function is implemented by the user and it is called by
the parser to get the value of an undefined variable at evaluation time.
- getVariable(String) - Method in interface com.bestcode.mathparser.IMathParser
-
Variable property is a way to set and get variable values.
- getVariableResolver() - Method in interface com.bestcode.mathparser.IMathParser
-
- getVariables() - Method in interface com.bestcode.mathparser.IMathParser
-
Returns the list of variables as an array of strings.
- GetVariablesUsed() - Method in interface com.bestcode.mathparser.IMathParser
-
Returns the list of variables used in the current expression as an array of Strings.
- getX() - Method in interface com.bestcode.mathparser.IMathParser
-
X property represents the X variable used in the mathematical expression which
was input to be evaluated.
- getY() - Method in interface com.bestcode.mathparser.IMathParser
-
Y property represents the Y variable used in the mathematical expression which
was input to be evaluated.