Index
All Classes and Interfaces|All Packages
A
- ABS - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the absolute value of a number
- AbstractEvaluator<T> - Class in com.fathzer.soft.javaluator
-
An abstract evaluator, able to evaluate infix expressions.
- AbstractEvaluator(Parameters) - Constructor for class com.fathzer.soft.javaluator.AbstractEvaluator
-
Constructor.
- AbstractVariableSet<T> - Interface in com.fathzer.soft.javaluator
-
An abstract variable set.
- ACOSINE - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the trigonometric arc-cosine of an angle.
- add(Constant) - Method in class com.fathzer.soft.javaluator.Parameters
-
Adds a constant to the supported ones.
- add(Function) - Method in class com.fathzer.soft.javaluator.Parameters
-
Adds a function to the supported ones.
- add(Operator) - Method in class com.fathzer.soft.javaluator.Parameters
-
Adds an operator to the supported ones.
- addConstants(Collection<Constant>) - Method in class com.fathzer.soft.javaluator.Parameters
-
Adds constants to the supported ones.
- addExpressionBracket(BracketPair) - Method in class com.fathzer.soft.javaluator.Parameters
-
Adds a new bracket pair to the expression bracket list.
- addExpressionBrackets(Collection<BracketPair>) - Method in class com.fathzer.soft.javaluator.Parameters
-
Adds bracket pairs to the expression bracket list.
- addFunctionBracket(BracketPair) - Method in class com.fathzer.soft.javaluator.Parameters
-
Adds a new bracket pair to the function bracket list.
- addFunctionBrackets(Collection<BracketPair>) - Method in class com.fathzer.soft.javaluator.Parameters
-
Adds bracket pairs to the function bracket list.
- addFunctions(Collection<Function>) - Method in class com.fathzer.soft.javaluator.Parameters
-
Adds functions to the supported ones.
- addOperators(Collection<Operator>) - Method in class com.fathzer.soft.javaluator.Parameters
-
Adds operators to the supported ones.
- ANGLES - Static variable in class com.fathzer.soft.javaluator.BracketPair
-
The angle brackets pair: <>.
- ASINE - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the trigonometric arc-sine of an angle.
- ATAN - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the trigonometric arc-tangent of an angle.
- AVERAGE - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the average of n numbers (n>=1)
B
- BRACES - Static variable in class com.fathzer.soft.javaluator.BracketPair
-
The braces pair: {}.
- BracketPair - Class in com.fathzer.soft.javaluator
-
A bracket pair.
- BracketPair(char, char) - Constructor for class com.fathzer.soft.javaluator.BracketPair
-
Constructor.
- BRACKETS - Static variable in class com.fathzer.soft.javaluator.BracketPair
-
The square brackets pair: [].
C
- CEIL - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the smallest integer >= argument
- com.fathzer.soft.javaluator - package com.fathzer.soft.javaluator
-
The Javaluator package
- Constant - Class in com.fathzer.soft.javaluator
-
A constant in an expression.
- Constant(String) - Constructor for class com.fathzer.soft.javaluator.Constant
-
Constructor
- COSINE - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the trigonometric cosine of an angle.
- COSINEH - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the hyperbolic cosine of a number.
D
- DIVIDE - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
The division operator.
- DoubleEvaluator - Class in com.fathzer.soft.javaluator
-
An evaluator that is able to evaluate arithmetic expressions on real numbers.
- DoubleEvaluator() - Constructor for class com.fathzer.soft.javaluator.DoubleEvaluator
-
Constructor.
- DoubleEvaluator(Parameters) - Constructor for class com.fathzer.soft.javaluator.DoubleEvaluator
-
Constructor.
- DoubleEvaluator(Parameters, boolean) - Constructor for class com.fathzer.soft.javaluator.DoubleEvaluator
-
Constructor.
- DoubleEvaluator.Style - Enum in com.fathzer.soft.javaluator
-
The order or operations (operator precedence) is not clearly defined, especially between the unary minus operator and exponentiation operator (see http://en.wikipedia.org/wiki/Order_of_operations).
E
- E - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
A constant that represents e (2.718281...)
- equals(Object) - Method in class com.fathzer.soft.javaluator.Operator
- evaluate(Constant, Object) - Method in class com.fathzer.soft.javaluator.AbstractEvaluator
-
Evaluates a constant.
- evaluate(Constant, Object) - Method in class com.fathzer.soft.javaluator.DoubleEvaluator
- evaluate(Function, Iterator<Double>, Object) - Method in class com.fathzer.soft.javaluator.DoubleEvaluator
- evaluate(Function, Iterator<T>, Object) - Method in class com.fathzer.soft.javaluator.AbstractEvaluator
-
Evaluates a function.
- evaluate(Operator, Iterator<Double>, Object) - Method in class com.fathzer.soft.javaluator.DoubleEvaluator
- evaluate(Operator, Iterator<T>, Object) - Method in class com.fathzer.soft.javaluator.AbstractEvaluator
-
Evaluates an operation.
- evaluate(String) - Method in class com.fathzer.soft.javaluator.AbstractEvaluator
-
Evaluates an expression.
- evaluate(String, Object) - Method in class com.fathzer.soft.javaluator.AbstractEvaluator
-
Evaluates an expression that contains variables.
- EXCEL - Enum constant in enum com.fathzer.soft.javaluator.DoubleEvaluator.Style
-
The operator precedence used by Excel, or bash shell script language, where the unary minus as a higher precedence than the exponentiation.
- EXPONENT - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
The exponentiation operator.
F
- FLOOR - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the largest integer <= argument
- Function - Class in com.fathzer.soft.javaluator
-
A function.
- Function(String, int) - Constructor for class com.fathzer.soft.javaluator.Function
-
Constructor.
- Function(String, int, int) - Constructor for class com.fathzer.soft.javaluator.Function
-
Constructor.
G
- get(String) - Method in interface com.fathzer.soft.javaluator.AbstractVariableSet
-
Gets the value of a variable.
- get(String) - Method in class com.fathzer.soft.javaluator.StaticVariableSet
-
Gets the value of a variable.
- getAssociativity() - Method in class com.fathzer.soft.javaluator.Operator
-
Gets this operator's associativity.
- getClose() - Method in class com.fathzer.soft.javaluator.BracketPair
-
Gets the close bracket character.
- getConstants() - Method in class com.fathzer.soft.javaluator.AbstractEvaluator
-
Gets the constants supported by this evaluator.
- getConstants() - Method in class com.fathzer.soft.javaluator.Parameters
-
Gets the supported constants.
- getDefaultParameters() - Static method in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Gets a copy of DoubleEvaluator standard default parameters.
- getDefaultParameters(DoubleEvaluator.Style) - Static method in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Gets a copy of DoubleEvaluator default parameters.
- getExpressionBrackets() - Method in class com.fathzer.soft.javaluator.Parameters
-
Gets the supported bracket pairs for expressions.
- getFunctionArgumentSeparator() - Method in class com.fathzer.soft.javaluator.Parameters
-
Gets the function argument separator.
- getFunctionBrackets() - Method in class com.fathzer.soft.javaluator.Parameters
-
Gets the supported bracket pairs for functions.
- getFunctions() - Method in class com.fathzer.soft.javaluator.AbstractEvaluator
-
Gets the functions supported by this evaluator.
- getFunctions() - Method in class com.fathzer.soft.javaluator.Parameters
-
Gets the supported functions.
- getMaximumArgumentCount() - Method in class com.fathzer.soft.javaluator.Function
-
Gets the function's maximum argument count.
- getMinimumArgumentCount() - Method in class com.fathzer.soft.javaluator.Function
-
Gets the function's minimum argument count.
- getName() - Method in class com.fathzer.soft.javaluator.Constant
-
Gets the mnemonic of the constant.
- getName() - Method in class com.fathzer.soft.javaluator.Function
-
Gets the function's name.
- getOpen() - Method in class com.fathzer.soft.javaluator.BracketPair
-
Gets the open bracket character.
- getOperandCount() - Method in class com.fathzer.soft.javaluator.Operator
-
Gets the operator's operand count.
- getOperators() - Method in class com.fathzer.soft.javaluator.AbstractEvaluator
-
Gets the operators supported by this evaluator.
- getOperators() - Method in class com.fathzer.soft.javaluator.Parameters
-
Gets the supported operators.
- getPrecedence() - Method in class com.fathzer.soft.javaluator.Operator
-
Gets the operator's precedence.
- getSymbol() - Method in class com.fathzer.soft.javaluator.Operator
-
Gets the operator's symbol.
- guessOperator(Token, List<Operator>) - Method in class com.fathzer.soft.javaluator.AbstractEvaluator
-
When a token can be more than one operator (homonym operators), this method guesses the right operator.
H
- hashCode() - Method in class com.fathzer.soft.javaluator.Operator
I
- isCloseBracket() - Method in class com.fathzer.soft.javaluator.Token
-
Tests whether the token is a close bracket.
- isFunction() - Method in class com.fathzer.soft.javaluator.Token
-
Tests whether the token is a function.
- isFunctionArgumentSeparator() - Method in class com.fathzer.soft.javaluator.Token
-
Tests whether the token is a function argument separator.
- isLiteral() - Method in class com.fathzer.soft.javaluator.Token
-
Tests whether the token is a literal or a constant or a variable name.
- isOpenBracket() - Method in class com.fathzer.soft.javaluator.Token
-
Tests whether the token is an open bracket.
- isOperator() - Method in class com.fathzer.soft.javaluator.Token
-
Tests whether the token is an operator.
- isScientificNotation(String) - Static method in class com.fathzer.soft.javaluator.DoubleEvaluator
- isTrimTokens() - Method in class com.fathzer.soft.javaluator.Tokenizer
-
Tests whether this tokens trims the tokens returned by
tokenize(String)method.
L
- LEFT - Enum constant in enum com.fathzer.soft.javaluator.Operator.Associativity
-
Left associativity.
- LN - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the natural logarithm of a number
- LOG - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the decimal logarithm of a number
M
- MAX - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the maximum of n numbers (n>=1)
- MIN - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the minimum of n numbers (n>=1)
- MINUS - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
The substraction operator.
- MODULO - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
The modulo operator.
- MULTIPLY - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
The multiplication operator.
N
- NEGATE - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
The negate unary operator in the standard operator precedence.
- NEGATE_HIGH - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
The negate unary operator in the Excel like operator precedence.
- NONE - Enum constant in enum com.fathzer.soft.javaluator.Operator.Associativity
-
No associativity.
O
- Operator - Class in com.fathzer.soft.javaluator
-
An operator.
- Operator(String, int, Operator.Associativity, int) - Constructor for class com.fathzer.soft.javaluator.Operator
-
Constructor.
- Operator.Associativity - Enum in com.fathzer.soft.javaluator
-
An Operator's associativity.
P
- Parameters - Class in com.fathzer.soft.javaluator
-
The parameters of an evaluator.
- Parameters() - Constructor for class com.fathzer.soft.javaluator.Parameters
-
Constructor.
- PARENTHESES - Static variable in class com.fathzer.soft.javaluator.BracketPair
-
The parentheses pair: ().
- PI - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
A constant that represents pi (3.14159...)
- PLUS - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
The addition operator.
R
- RANDOM - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns a pseudo random number
- RIGHT - Enum constant in enum com.fathzer.soft.javaluator.Operator.Associativity
-
Right associativity.
- ROUND - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the closest integer of a number
S
- set(String, T) - Method in class com.fathzer.soft.javaluator.StaticVariableSet
-
Sets a variable value.
- setFunctionArgumentSeparator(char) - Method in class com.fathzer.soft.javaluator.Parameters
-
Sets the function argument separator.
- setTranslation(Constant, String) - Method in class com.fathzer.soft.javaluator.Parameters
-
Sets the translated term for a constant.
- setTranslation(Function, String) - Method in class com.fathzer.soft.javaluator.Parameters
-
Sets the translated term for a function.
- setTrimTokens(boolean) - Method in class com.fathzer.soft.javaluator.Tokenizer
-
Sets the trimTokens attribute.
- SINE - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the trigonometric sine of an angle.
- SINEH - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the hyperbolic sine of a number.
- STANDARD - Enum constant in enum com.fathzer.soft.javaluator.DoubleEvaluator.Style
-
The most commonly operator precedence, where the unary minus as a lower precedence than the exponentiation.
- StaticVariableSet<T> - Class in com.fathzer.soft.javaluator
-
A static variable set.
- StaticVariableSet() - Constructor for class com.fathzer.soft.javaluator.StaticVariableSet
-
Constructor.
- SUM - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the sum of n numbers (n>=1)
T
- TANGENT - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the trigonometric tangent of an angle.
- TANGENTH - Static variable in class com.fathzer.soft.javaluator.DoubleEvaluator
-
Returns the hyperbolic tangent of a number.
- Token - Class in com.fathzer.soft.javaluator
-
A token.
- tokenize(String) - Method in class com.fathzer.soft.javaluator.AbstractEvaluator
-
Converts the evaluated expression into tokens.
- tokenize(String) - Method in class com.fathzer.soft.javaluator.DoubleEvaluator
- tokenize(String) - Method in class com.fathzer.soft.javaluator.Tokenizer
-
Converts a string into tokens.
- Tokenizer - Class in com.fathzer.soft.javaluator
-
A String tokenizer that accepts delimiters that are greater than one character.
- Tokenizer(List<String>) - Constructor for class com.fathzer.soft.javaluator.Tokenizer
-
Constructor.
- toString() - Method in class com.fathzer.soft.javaluator.BracketPair
- toString() - Method in class com.fathzer.soft.javaluator.Token
- toValue(String, Object) - Method in class com.fathzer.soft.javaluator.AbstractEvaluator
-
Evaluates a literal (Converts it to a value).
- toValue(String, Object) - Method in class com.fathzer.soft.javaluator.DoubleEvaluator
V
- validateHomonyms(List<Operator>) - Method in class com.fathzer.soft.javaluator.AbstractEvaluator
-
Validates that homonym operators are valid.
- valueOf(String) - Static method in enum com.fathzer.soft.javaluator.DoubleEvaluator.Style
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.fathzer.soft.javaluator.Operator.Associativity
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.fathzer.soft.javaluator.DoubleEvaluator.Style
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.fathzer.soft.javaluator.Operator.Associativity
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages