tk.pratanumandal.expr4j.token
package contains all the tokens that form an expression.See: Description
Interface | Description |
---|---|
Function |
The
Function interface represents functions in the expression.It is a functional interface and provides only one method evaluate() which shall be invoked to evaluate the function. The evaluate() method must be overridden by any implementing class. |
Class | Description |
---|---|
Operand |
The
Operand class represents the operands in the expression.It acts as a wrapper for double value operands. |
Operator |
The
Operator class represents the operators, functions, variables, and constants in the expression.It provides implementation for evaluation of the operators, functions, variables, and constants. Functions, variables, and constants are treated as operators as well with specialized evaluation techniques in order to maintain precedence and associativity. |
Operator.Properties |
The
Properties class represents the properties of an operator.It contains information about the number of parameters supported, the precedence, and the associativity. It also helps determine if an operator is a function or not and provides the function implementation. |
Token |
The
Token class represents any token in expressions.A token is the smallest indivisible unit of any expression. Tokens can be operands, operators, functions, variables, or constants. |
Enum | Description |
---|---|
Operator.Properties.Associativity |
The
Associativity enum represents the associativity property of an operator.It can be of three types: LEFT associative, RIGHT associative and NO associative. |
tk.pratanumandal.expr4j.token
package contains all the tokens that form an expression.Copyright © 2019 Pratanu Mandal. All rights reserved.