Package | Description |
---|---|
org.expressionj.expr |
Contain classes that are used to compute equations.
|
org.expressionj.functions |
Contains classes which allows to bind names in the mathematical expressions to regular Java methods.
|
org.expressionj.model |
Contains fundamental classes used for expressions.
|
org.expressionj.util |
Contains several utility classes.
|
Modifier and Type | Method and Description |
---|---|
Constant |
ParsedEquation.createBooleanConstant(boolean value) |
Constant |
ParsedEquation.createConstant(java.lang.String expr) |
Constant |
ParsedEquation.createPIConstant(double value) |
Modifier and Type | Method and Description |
---|---|
Constant |
ConstantsDefinitions.getConstant(java.lang.String name)
Return the constant of a given name.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Constant> |
ConstantsDefinitions.getConstants()
Return the Map of constants.
|
Modifier and Type | Method and Description |
---|---|
void |
ConstantsDefinitions.addConstant(java.lang.String name,
Constant constant)
Add a new global constant binding.
|
Modifier and Type | Field and Description |
---|---|
static Constant |
Constant.EMPTY_STRING
The constant which hold an empty String.
|
static Constant |
Constant.FALSE
The constant which hold the value false.
|
static Constant |
Constant.ONE_F
The constant which hold the value 1 as an float.
|
static Constant |
Constant.ONE_I
The constant which hold the value 1 as an int.
|
static Constant |
Constant.TRUE
The constant which hold the value true.
|
static Constant |
Constant.ZERO_F
The constant which hold the value 0 as a float.
|
static Constant |
Constant.ZERO_I
The constant which hold the value 0 as an int.
|
Modifier and Type | Method and Description |
---|---|
Constant |
ExpressionAnalyser.asConstant(Expression expr)
Return the Expression as a Constant or null if this is not a Constant.
|
Copyright © 2018 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence