| Package | Description |
|---|---|
| net.objecthunter.exp4j | |
| net.objecthunter.exp4j.operator | |
| net.objecthunter.exp4j.shuntingyard | |
| net.objecthunter.exp4j.tokenizer |
| Modifier and Type | Method and Description |
|---|---|
ExpressionBuilder |
ExpressionBuilder.operator(Operator... operators)
Add multiple
Operator implementations which should be available for use in the expression |
ExpressionBuilder |
ExpressionBuilder.operator(Operator operator)
Add an
Operator which should be available for use in the expression |
| Modifier and Type | Method and Description |
|---|---|
ExpressionBuilder |
ExpressionBuilder.operator(List<Operator> operators)
Add multiple
Operator implementations which should be available for use in the expression |
| Modifier and Type | Method and Description |
|---|---|
static Operator |
Operators.getBuiltinOperator(char symbol,
int numArguments) |
| Modifier and Type | Method and Description |
|---|---|
static Token[] |
ShuntingYard.convertToRPN(String expression,
Map<String,Function> userFunctions,
Map<String,Operator> userOperators,
Set<String> variableNames)
Convert a Set of tokens from infix to reverse polish notation
|
| Modifier and Type | Method and Description |
|---|---|
Operator |
OperatorToken.getOperator()
Get the operator for that token
|
| Constructor and Description |
|---|
OperatorToken(Operator op)
Create a new instance
|
| Constructor and Description |
|---|
Tokenizer(String expression,
Map<String,Function> userFunctions,
Map<String,Operator> userOperators,
Set<String> variableNames) |
Copyright © 2014. All rights reserved.