Index
All Classes and Interfaces|All Packages
B
- builtInFunctions() - Method in class org.djutils.eval.Eval
-
Create and return a collection of all built in functions.
C
- Calculator - Class in org.djutils.eval
-
Calculator.java.
- Calculator() - Constructor for class org.djutils.eval.Calculator
D
- doEval(String) - Static method in class org.djutils.eval.Calculator
-
Print expression followed by the result.
- doEval(String, RetrieveValue) - Static method in class org.djutils.eval.Calculator
-
Print expression followed by the result.
E
- Eval - Class in org.djutils.eval
-
Eval - evaluate mathematical expression.
- Eval() - Constructor for class org.djutils.eval.Eval
-
Construct a new evaluator with no RetrieveValue object and no added/overridden function and no added/overridden units.
- Eval.CompareValues - Interface in org.djutils.eval
-
Interface for comparator for two double values.
- evaluate(String) - Method in class org.djutils.eval.Eval
-
Evaluate a mathematical expression
- evaluateAsBoolean(String) - Method in class org.djutils.eval.Eval
-
Evaluate a mathematical expression, check that the result is a logical value and return that value as a Boolean
- evaluateAsDouble(String) - Method in class org.djutils.eval.Eval
-
Evaluate a mathematical expression, check that the result is a floating point value and return that value as a double.
- evaluateExpression(String) - Method in class org.djutils.eval.Eval
-
Evaluate one expression.
- execute(double, double) - Method in interface org.djutils.eval.Eval.CompareValues
-
Compare two double values.
- execute(Function) - Method in interface org.djutils.eval.F0.ZeroArgumentFunction
-
Prototype of the zero-argument function
- execute(Function, Object) - Method in interface org.djutils.eval.F1.OneArgumentFunction
-
Prototype of the one-argument function
- execute(Function, Object, Object) - Method in interface org.djutils.eval.F2.TwoArgumentFunction
-
Prototype of the two-argument function
F
- f0 - Variable in class org.djutils.eval.F0
-
The zero argument function.
- F0 - Class in org.djutils.eval
-
F0.java.
- F0(String, Class<?>, MetaData, F0.ZeroArgumentFunction) - Constructor for class org.djutils.eval.F0
-
Construct a new zero argument function.
- F0(String, Object, MetaData) - Constructor for class org.djutils.eval.F0
-
Construct a new zero-argument function with constant result.
- F0.ZeroArgumentFunction - Interface in org.djutils.eval
-
Interface for zero argument functions.
- f1 - Variable in class org.djutils.eval.F1
-
The zero argument function.
- F1 - Class in org.djutils.eval
-
F1.java.
- F1(String, Class<?>, MetaData, F1.OneArgumentFunction) - Constructor for class org.djutils.eval.F1
-
Construct a new one-argument function.
- F1.OneArgumentFunction - Interface in org.djutils.eval
-
Interface for one argument functions.
- f2 - Variable in class org.djutils.eval.F2
-
The zero argument function.
- F2 - Class in org.djutils.eval
-
F2.java.
- F2(String, MetaData, F2.TwoArgumentFunction) - Constructor for class org.djutils.eval.F2
-
Construct a new two-argument function.
- F2.TwoArgumentFunction - Interface in org.djutils.eval
-
Interface for two-argument functions.
- function(Object[]) - Method in class org.djutils.eval.F0
- function(Object[]) - Method in class org.djutils.eval.F1
- function(Object[]) - Method in class org.djutils.eval.F2
- function(Object[]) - Method in interface org.djutils.eval.Function
-
The function itself.
- Function - Interface in org.djutils.eval
-
Function.java.
G
- getDescription() - Method in interface org.djutils.eval.Function
-
Return a textual description of the function.
- getId() - Method in class org.djutils.eval.F0
- getId() - Method in class org.djutils.eval.F1
- getId() - Method in class org.djutils.eval.F2
- getMetaData() - Method in class org.djutils.eval.F0
- getMetaData() - Method in class org.djutils.eval.F1
- getMetaData() - Method in class org.djutils.eval.F2
- getMetaData() - Method in interface org.djutils.eval.Function
-
Specifies the types of the arguments expected by the function.
- getName() - Method in interface org.djutils.eval.Function
-
Return the name of the function.
I
- id - Variable in class org.djutils.eval.F0
-
Id of the function.
- id - Variable in class org.djutils.eval.F1
-
Id of the function.
- id - Variable in class org.djutils.eval.F2
-
Id of the function.
L
- lookup(String) - Method in interface org.djutils.eval.RetrieveValue
-
Look up a variable and return its value.
M
- main(String...) - Static method in class org.djutils.eval.Calculator
-
Demonstrate the Eval class.
- metaData - Variable in class org.djutils.eval.F0
-
Type of the parameters of this function (also contains name and description).
- metaData - Variable in class org.djutils.eval.F1
-
Type of the parameters of this function (also contains name and description).
- metaData - Variable in class org.djutils.eval.F2
-
Type of the parameters of this function (also contains name and description).
O
- org.djutils.eval - package org.djutils.eval
-
package-info.java.
P
- parseUnit(double, String) - Method in interface org.djutils.eval.UnitParser
-
Parse a user-specific unit.
R
- resultClass - Variable in class org.djutils.eval.F0
-
Type of the result of this function.
- resultClass - Variable in class org.djutils.eval.F1
-
Type of the result of this function.
- RetrieveValue - Interface in org.djutils.eval
-
RetrieveValue.java.
S
- setRetrieveValue(RetrieveValue) - Method in class org.djutils.eval.Eval
-
Set or replace the RetrieveValue object of this evaluator.
- setUnitParser(UnitParser) - Method in class org.djutils.eval.Eval
-
Install a unit parser (or replace or remove a previously installed unit parser).
- setUserDefinedFunctions(Map<String, Function>) - Method in class org.djutils.eval.Eval
-
Install a map of user-defined functions.
U
- UnitParser - Interface in org.djutils.eval
-
UnitParser.java.
All Classes and Interfaces|All Packages