A B C D E G I M N P R S U W

A

applyFunction(double...) - Method in class de.congrace.exp4j.CustomFunction
 
applyOperation(double[]) - Method in class de.congrace.exp4j.CustomOperator
Apply the custom operation on the two operands and return the result as an double An example implementation for a multiplication could look like this:
ArrayUtil - Class in de.congrace.exp4j
 
ArrayUtil() - Constructor for class de.congrace.exp4j.ArrayUtil
 

B

build() - Method in class de.congrace.exp4j.ExpressionBuilder
build a new Calculable from the expression using the supplied variables

C

Calculable - Interface in de.congrace.exp4j
This is the basic result class of the exp4j ExpressionBuilder
calculate() - Method in interface de.congrace.exp4j.Calculable
calculate the result of the expression
calculate(double...) - Method in interface de.congrace.exp4j.Calculable
calculate the result of the expression
CommandlineInterpreter - Class in de.congrace.exp4j
Simple commandline interpreter for mathematical expressions the interpreter takes a mathematical expressions as a String argument, evaluates it and prints out the result.
CommandlineInterpreter() - Constructor for class de.congrace.exp4j.CommandlineInterpreter
 
CustomFunction - Class in de.congrace.exp4j
this classed is used to create custom functions for exp4j

Example
CustomFunction(String) - Constructor for class de.congrace.exp4j.CustomFunction
create a new single value input CustomFunction with a set name
CustomFunction(String, int) - Constructor for class de.congrace.exp4j.CustomFunction
create a new single value input CustomFunction with a set name
CustomOperator - Class in de.congrace.exp4j
This class is used to create custom operators for use in expressions
The applyOperation(double[] values) will have to be implemented by users of this class.
CustomOperator(String, boolean, int) - Constructor for class de.congrace.exp4j.CustomOperator
Create a new CustomOperator for two operands
CustomOperator(String, boolean, int, int) - Constructor for class de.congrace.exp4j.CustomOperator
Create a new CustomOperator
CustomOperator(String) - Constructor for class de.congrace.exp4j.CustomOperator
Create a left associative CustomOperator with precedence value of 1 that uses two operands
CustomOperator(String, int) - Constructor for class de.congrace.exp4j.CustomOperator
Create a left associative CustomOperator for two operands

D

de.congrace.exp4j - package de.congrace.exp4j
 

E

ExpressionBuilder - Class in de.congrace.exp4j
This is Builder implementation for the exp4j API used to create a Calculable instance for the user
ExpressionBuilder(String) - Constructor for class de.congrace.exp4j.ExpressionBuilder
Create a new ExpressionBuilder
ExpressionUtil - Class in de.congrace.exp4j
 
ExpressionUtil() - Constructor for class de.congrace.exp4j.ExpressionUtil
 

G

getArgumentCount() - Method in class de.congrace.exp4j.CustomFunction
 
getExpression() - Method in interface de.congrace.exp4j.Calculable
return the expression in reverse polish postfix notation

I

InvalidCustomFunctionException - Exception in de.congrace.exp4j
 
InvalidCustomFunctionException(String) - Constructor for exception de.congrace.exp4j.InvalidCustomFunctionException
 

M

main(String[]) - Static method in class de.congrace.exp4j.CommandlineInterpreter
 

N

normalizeNumber(String, Locale) - Static method in class de.congrace.exp4j.ExpressionUtil
normalize a number to an acceptable format for exp4j e.g.
normalizeNumber(String) - Static method in class de.congrace.exp4j.ExpressionUtil
 

P

PROPERTY_UNARY_HIGH_PRECEDENCE - Static variable in class de.congrace.exp4j.ExpressionBuilder
Property name for unary precedence choice.

R

reverse(double[]) - Static method in class de.congrace.exp4j.ArrayUtil
 

S

setVariable(String, double) - Method in interface de.congrace.exp4j.Calculable
set a variable value for the calculation

U

UnknownFunctionException - Exception in de.congrace.exp4j
Exception for handling unknown Functions.
UnknownFunctionException(String) - Constructor for exception de.congrace.exp4j.UnknownFunctionException
construct a new UnknownFunctionException
UnparsableExpressionException - Exception in de.congrace.exp4j
Exception for invalid expressions
UnparsableExpressionException(String, char, int) - Constructor for exception de.congrace.exp4j.UnparsableExpressionException
construct a new UnparsableExpressionException
UnparsableExpressionException(String) - Constructor for exception de.congrace.exp4j.UnparsableExpressionException
construct a new UnparsableExpressionException

W

withCustomFunction(CustomFunction) - Method in class de.congrace.exp4j.ExpressionBuilder
add a custom function instance for the evaluator to recognize
withCustomFunctions(Collection<CustomFunction>) - Method in class de.congrace.exp4j.ExpressionBuilder
 
withExpression(String) - Method in class de.congrace.exp4j.ExpressionBuilder
set the mathematical expression for parsing
withOperation(CustomOperator) - Method in class de.congrace.exp4j.ExpressionBuilder
set a CustomOperator to be used in the expression
withOperations(Collection<CustomOperator>) - Method in class de.congrace.exp4j.ExpressionBuilder
set a Collection of CustomOperator to use in the expression
withVariable(String, double) - Method in class de.congrace.exp4j.ExpressionBuilder
set the value for a variable
withVariableNames(String...) - Method in class de.congrace.exp4j.ExpressionBuilder
set the variables names used in the expression without setting their values
withVariables(Map<String, Double>) - Method in class de.congrace.exp4j.ExpressionBuilder
set the values for variables

A B C D E G I M N P R S U W

Copyright © 2012. All Rights Reserved.