Package | Description |
---|---|
tk.pratanumandal.expr4j |
The
tk.pratanumandal.expr4j package is the root package of expr4j library. |
tk.pratanumandal.expr4j.shuntingyard |
The
tk.pratanumandal.expr4j.shuntingyard package contains Shunting Yard implementations for expression evaluation. |
tk.pratanumandal.expr4j.token |
The
tk.pratanumandal.expr4j.token package contains all the tokens that form an expression. |
Class and 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. |
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. |
Class and 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. |
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. |
Class and 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. |
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.Associativity
The
Associativity enum represents the associativity property of an operator.It can be of three types: LEFT associative, RIGHT associative and NO associative. |
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. |
Copyright © 2019 Pratanu Mandal. All rights reserved.