A B C D E F G H I L M N O P R S T V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbsFunction - Class in com.ezylang.evalex.functions.basic
-
Absolute (non-negative) value.
- AbsFunction() - Constructor for class com.ezylang.evalex.functions.basic.AbsFunction
- AbstractFunction - Class in com.ezylang.evalex.functions
-
Abstract implementation of the
FunctionIfc, used as base class for function implementations. - AbstractFunction() - Constructor for class com.ezylang.evalex.functions.AbstractFunction
-
Creates a new function and uses the
FunctionParameterannotations to create the parameter definitions. - AbstractMinMaxFunction - Class in com.ezylang.evalex.functions.basic
- AbstractMinMaxFunction() - Constructor for class com.ezylang.evalex.functions.basic.AbstractMinMaxFunction
- AbstractOperator - Class in com.ezylang.evalex.operators
-
Abstract implementation of the
OperatorIfc, used as base class for operator implementations. - AbstractOperator() - Constructor for class com.ezylang.evalex.operators.AbstractOperator
-
Creates a new operator and uses the
InfixOperatorannotation to create the operator definition. - AcosFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the arc-cosine (in degrees).
- AcosFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.AcosFunction
- AcosHFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the hyperbolic arc-cosine.
- AcosHFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.AcosHFunction
- AcosRFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the arc-cosine (in radians).
- AcosRFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.AcosRFunction
- AcotFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the arc-co-tangent (in degrees).
- AcotFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.AcotFunction
- AcotHFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the arc hyperbolic cotangent.
- AcotHFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.AcotHFunction
- AcotRFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the arc-co-tangent (in radians).
- AcotRFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.AcotRFunction
- addFunction(String, FunctionIfc) - Method in interface com.ezylang.evalex.config.FunctionDictionaryIfc
-
Allows to add a function to the dictionary.
- addFunction(String, FunctionIfc) - Method in class com.ezylang.evalex.config.MapBasedFunctionDictionary
- addOperator(String, OperatorIfc) - Method in class com.ezylang.evalex.config.MapBasedOperatorDictionary
- addOperator(String, OperatorIfc) - Method in interface com.ezylang.evalex.config.OperatorDictionaryIfc
-
Allows to add an operator to the dictionary.
- and(String, Object) - Method in class com.ezylang.evalex.Expression
-
Adds a variable value to the expression data storage.
- ARRAY - com.ezylang.evalex.data.EvaluationValue.DataType
-
A list evaluation values.
- ARRAY_CLOSE - com.ezylang.evalex.parser.Token.TokenType
- ARRAY_INDEX - com.ezylang.evalex.parser.Token.TokenType
- ARRAY_OPEN - com.ezylang.evalex.parser.Token.TokenType
- ArrayConverter - Class in com.ezylang.evalex.data.conversion
-
Converter to convert to the ARRAY data type.
- ArrayConverter() - Constructor for class com.ezylang.evalex.data.conversion.ArrayConverter
- arrayValue(List<?>) - Static method in class com.ezylang.evalex.data.EvaluationValue
-
Creates a new array value.
- AsinFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the arc-sine (in degrees).
- AsinFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.AsinFunction
- AsinHFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the hyperbolic arc-sine.
- AsinHFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.AsinHFunction
- AsinRFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the arc-sine (in radians).
- AsinRFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.AsinRFunction
- ASTNode - Class in com.ezylang.evalex.parser
-
Expressions are parsed into an abstract syntax tree (AST).
- ASTNode(Token, ASTNode...) - Constructor for class com.ezylang.evalex.parser.ASTNode
- Atan2Function - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the angle of atan2 (in degrees).
- Atan2Function() - Constructor for class com.ezylang.evalex.functions.trigonometric.Atan2Function
- Atan2RFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the angle of atan2 (in radians).
- Atan2RFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.Atan2RFunction
- AtanFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the arc-tangent (in degrees).
- AtanFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.AtanFunction
- AtanHFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the hyperbolic arc-sine.
- AtanHFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.AtanHFunction
- AtanRFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the arc-tangent (in radians).
- AtanRFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.AtanRFunction
- AverageFunction - Class in com.ezylang.evalex.functions.basic
-
Returns the average (arithmetic mean) of the numeric arguments, with recursive support for arrays.
- AverageFunction() - Constructor for class com.ezylang.evalex.functions.basic.AverageFunction
B
- BaseException - Exception in com.ezylang.evalex
-
Base exception class used in EvalEx.
- BaseException(int, int, String, String) - Constructor for exception com.ezylang.evalex.BaseException
- BINARY - com.ezylang.evalex.data.EvaluationValue.DataType
-
Raw (undefined) type, stored as an
Object. - BinaryConverter - Class in com.ezylang.evalex.data.conversion
-
Converter to convert to the BINARY data type.
- BinaryConverter() - Constructor for class com.ezylang.evalex.data.conversion.BinaryConverter
- binaryValue(Object) - Static method in class com.ezylang.evalex.data.EvaluationValue
-
Creates a new binary (raw) value.
- BOOLEAN - com.ezylang.evalex.data.EvaluationValue.DataType
-
A boolean, stored as
Boolean. - BooleanConverter - Class in com.ezylang.evalex.data.conversion
-
Converter to convert to the BOOLEAN data type.
- BooleanConverter() - Constructor for class com.ezylang.evalex.data.conversion.BooleanConverter
- booleanValue(Boolean) - Static method in class com.ezylang.evalex.data.EvaluationValue
-
Creates a new boolean value.
- BRACE_CLOSE - com.ezylang.evalex.parser.Token.TokenType
- BRACE_OPEN - com.ezylang.evalex.parser.Token.TokenType
C
- canConvert(Object) - Method in class com.ezylang.evalex.data.conversion.ArrayConverter
- canConvert(Object) - Method in class com.ezylang.evalex.data.conversion.BinaryConverter
- canConvert(Object) - Method in class com.ezylang.evalex.data.conversion.BooleanConverter
- canConvert(Object) - Method in interface com.ezylang.evalex.data.conversion.ConverterIfc
-
Checks, if a given object can be converted by this converter.
- canConvert(Object) - Method in class com.ezylang.evalex.data.conversion.DateTimeConverter
- canConvert(Object) - Method in class com.ezylang.evalex.data.conversion.DurationConverter
- canConvert(Object) - Method in class com.ezylang.evalex.data.conversion.ExpressionNodeConverter
- canConvert(Object) - Method in class com.ezylang.evalex.data.conversion.NumberConverter
- canConvert(Object) - Method in class com.ezylang.evalex.data.conversion.StringConverter
- canConvert(Object) - Method in class com.ezylang.evalex.data.conversion.StructureConverter
- CeilingFunction - Class in com.ezylang.evalex.functions.basic
-
Rounds the given value to an integer using the rounding mode
RoundingMode.CEILING - CeilingFunction() - Constructor for class com.ezylang.evalex.functions.basic.CeilingFunction
- CoalesceFunction - Class in com.ezylang.evalex.functions.basic
-
Returns the first non-null parameter, or
EvaluationValue.NULL_VALUEif all parameters are null. - CoalesceFunction() - Constructor for class com.ezylang.evalex.functions.basic.CoalesceFunction
- com.ezylang.evalex - package com.ezylang.evalex
- com.ezylang.evalex.config - package com.ezylang.evalex.config
- com.ezylang.evalex.data - package com.ezylang.evalex.data
- com.ezylang.evalex.data.conversion - package com.ezylang.evalex.data.conversion
- com.ezylang.evalex.functions - package com.ezylang.evalex.functions
- com.ezylang.evalex.functions.basic - package com.ezylang.evalex.functions.basic
- com.ezylang.evalex.functions.datetime - package com.ezylang.evalex.functions.datetime
- com.ezylang.evalex.functions.string - package com.ezylang.evalex.functions.string
- com.ezylang.evalex.functions.trigonometric - package com.ezylang.evalex.functions.trigonometric
- com.ezylang.evalex.operators - package com.ezylang.evalex.operators
- com.ezylang.evalex.operators.arithmetic - package com.ezylang.evalex.operators.arithmetic
- com.ezylang.evalex.operators.booleans - package com.ezylang.evalex.operators.booleans
- com.ezylang.evalex.parser - package com.ezylang.evalex.parser
- COMMA - com.ezylang.evalex.parser.Token.TokenType
- compareTo(EvaluationValue) - Method in class com.ezylang.evalex.data.EvaluationValue
- convert(Token, String) - Static method in class com.ezylang.evalex.functions.datetime.ZoneIdConverter
-
Converts a zone ID string to a
ZoneId. - convert(Object, ExpressionConfiguration) - Method in class com.ezylang.evalex.data.conversion.ArrayConverter
- convert(Object, ExpressionConfiguration) - Method in class com.ezylang.evalex.data.conversion.BinaryConverter
- convert(Object, ExpressionConfiguration) - Method in class com.ezylang.evalex.data.conversion.BooleanConverter
- convert(Object, ExpressionConfiguration) - Method in interface com.ezylang.evalex.data.conversion.ConverterIfc
-
Called to convert a previously checked data type.
- convert(Object, ExpressionConfiguration) - Method in class com.ezylang.evalex.data.conversion.DateTimeConverter
- convert(Object, ExpressionConfiguration) - Method in class com.ezylang.evalex.data.conversion.DurationConverter
- convert(Object, ExpressionConfiguration) - Method in class com.ezylang.evalex.data.conversion.ExpressionNodeConverter
- convert(Object, ExpressionConfiguration) - Method in class com.ezylang.evalex.data.conversion.NumberConverter
- convert(Object, ExpressionConfiguration) - Method in class com.ezylang.evalex.data.conversion.StringConverter
- convert(Object, ExpressionConfiguration) - Method in class com.ezylang.evalex.data.conversion.StructureConverter
- convertDoubleValue(double) - Method in class com.ezylang.evalex.Expression
-
Converts a double value to an
EvaluationValueby considering the configuredMathContext. - ConverterIfc - Interface in com.ezylang.evalex.data.conversion
-
Converter interface used by the
DefaultEvaluationValueConverter. - convertObject(Object, ExpressionConfiguration) - Method in class com.ezylang.evalex.data.conversion.DefaultEvaluationValueConverter
- convertObject(Object, ExpressionConfiguration) - Method in interface com.ezylang.evalex.data.conversion.EvaluationValueConverterIfc
-
Called whenever an object has to be converted to an
EvaluationValue. - convertValue(Object) - Method in class com.ezylang.evalex.Expression
-
Converts an object value to an
EvaluationValueby considering the configurationEvaluationValue(Object, ExpressionConfiguration). - copy() - Method in class com.ezylang.evalex.Expression
-
Return a copy of the expression using the copy constructor
Expression(com.ezylang.evalex.Expression). - CosFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the trigonometric cosine of an angle (in degrees).
- CosFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.CosFunction
- CosHFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the hyperbolic cosine of a value.
- CosHFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.CosHFunction
- CosRFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the trigonometric cosine of an angle (in radians).
- CosRFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.CosRFunction
- CotFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the co-tangent of an angle (in degrees).
- CotFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.CotFunction
- CotHFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the hyperbolic co-tangent of a value.
- CotHFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.CotHFunction
- CotRFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the trigonometric co-tangent of an angle (in radians).
- CotRFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.CotRFunction
- createExpressionNode(String) - Method in class com.ezylang.evalex.Expression
-
Create an AST representation for an expression string.
- CscFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the co-secant (in degrees).
- CscFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.CscFunction
- CscHFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the co-secant.
- CscHFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.CscHFunction
- CscRFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the co-secant (in radians).
- CscRFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.CscRFunction
D
- DataAccessorIfc - Interface in com.ezylang.evalex.data
-
A data accessor is responsible for accessing data, e.g.
- DATE_TIME - com.ezylang.evalex.data.EvaluationValue.DataType
-
A date time value, stored as
Instant. - DateTimeConverter - Class in com.ezylang.evalex.data.conversion
-
Converter to convert to the DATE_TIME data type.
- DateTimeConverter() - Constructor for class com.ezylang.evalex.data.conversion.DateTimeConverter
- DateTimeFormatFunction - Class in com.ezylang.evalex.functions.datetime
-
Function to format a DATE_TIME vale.
- DateTimeFormatFunction() - Constructor for class com.ezylang.evalex.functions.datetime.DateTimeFormatFunction
- DateTimeNewFunction - Class in com.ezylang.evalex.functions.datetime
-
Creates a new DATE_TIME value with the given parameters.
- DateTimeNewFunction() - Constructor for class com.ezylang.evalex.functions.datetime.DateTimeNewFunction
- DateTimeNowFunction - Class in com.ezylang.evalex.functions.datetime
-
Produces a new DATE_TIME that represents the current date and time.
- DateTimeNowFunction() - Constructor for class com.ezylang.evalex.functions.datetime.DateTimeNowFunction
- DateTimeParseFunction - Class in com.ezylang.evalex.functions.datetime
-
Parses a date-time string to a
EvaluationValue.DataType.DATE_TIMEvalue. - DateTimeParseFunction() - Constructor for class com.ezylang.evalex.functions.datetime.DateTimeParseFunction
- DateTimeTodayFunction - Class in com.ezylang.evalex.functions.datetime
-
Produces a new DATE_TIME that represents the current date, at midnight (00:00).
- DateTimeTodayFunction() - Constructor for class com.ezylang.evalex.functions.datetime.DateTimeTodayFunction
- DateTimeToEpochFunction - Class in com.ezylang.evalex.functions.datetime
-
Function to convert a DATE_TIME value to milliseconds in the epoch of 1970-01-01T00:00:00Z.
- DateTimeToEpochFunction() - Constructor for class com.ezylang.evalex.functions.datetime.DateTimeToEpochFunction
- dateTimeValue(Instant) - Static method in class com.ezylang.evalex.data.EvaluationValue
-
Creates a new date-time value.
- DECIMAL_PLACES_ROUNDING_UNLIMITED - Static variable in class com.ezylang.evalex.config.ExpressionConfiguration
-
Setting the decimal places to unlimited, will disable intermediate rounding.
- DEFAULT_DATE_TIME_FORMATTERS - Static variable in class com.ezylang.evalex.config.ExpressionConfiguration
-
The default date time formatters used when parsing a date string.
- DEFAULT_MATH_CONTEXT - Static variable in class com.ezylang.evalex.config.ExpressionConfiguration
-
The default math context has a precision of 68 and
RoundingMode.HALF_EVEN. - defaultConfiguration() - Static method in class com.ezylang.evalex.config.ExpressionConfiguration
-
Convenience method to create a default configuration.
- DefaultEvaluationValueConverter - Class in com.ezylang.evalex.data.conversion
-
The default implementation of the
EvaluationValueConverterIfc, used in the standard configuration. - DefaultEvaluationValueConverter() - Constructor for class com.ezylang.evalex.data.conversion.DefaultEvaluationValueConverter
- DegFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
- DegFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.DegFunction
- DURATION - com.ezylang.evalex.data.EvaluationValue.DataType
-
A period value, stored as
Duration. - DurationConverter - Class in com.ezylang.evalex.data.conversion
-
Converter to convert to the DURATION data type.
- DurationConverter() - Constructor for class com.ezylang.evalex.data.conversion.DurationConverter
- DurationFromMillisFunction - Class in com.ezylang.evalex.functions.datetime
-
Converts the given milliseconds to a DURATION value.
- DurationFromMillisFunction() - Constructor for class com.ezylang.evalex.functions.datetime.DurationFromMillisFunction
- DurationNewFunction - Class in com.ezylang.evalex.functions.datetime
-
Function to create a new Duration.
- DurationNewFunction() - Constructor for class com.ezylang.evalex.functions.datetime.DurationNewFunction
- DurationParseFunction - Class in com.ezylang.evalex.functions.datetime
-
Converts the given ISO-8601 duration string representation to a duration value.
- DurationParseFunction() - Constructor for class com.ezylang.evalex.functions.datetime.DurationParseFunction
- DurationToMillisFunction - Class in com.ezylang.evalex.functions.datetime
-
Converts a DURATION value to the amount of milliseconds.
- DurationToMillisFunction() - Constructor for class com.ezylang.evalex.functions.datetime.DurationToMillisFunction
- durationValue(Duration) - Static method in class com.ezylang.evalex.data.EvaluationValue
-
Creates a new duration value.
E
- evaluate() - Method in class com.ezylang.evalex.Expression
-
Evaluates the expression by parsing it (if not done before) and the evaluating it.
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.AbsFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.AverageFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.CeilingFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.CoalesceFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.FactFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.FloorFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.IfFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.Log10Function
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.LogFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.MaxFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.MinFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.NotFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.RandomFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.RoundFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.SqrtFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.SumFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.basic.SwitchFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.datetime.DateTimeFormatFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.datetime.DateTimeNewFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.datetime.DateTimeNowFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.datetime.DateTimeParseFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.datetime.DateTimeTodayFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.datetime.DateTimeToEpochFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.datetime.DurationFromMillisFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.datetime.DurationNewFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.datetime.DurationParseFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.datetime.DurationToMillisFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in interface com.ezylang.evalex.functions.FunctionIfc
-
Performs the function logic and returns an evaluation result.
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringContains
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringEndsWithFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringFormatFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringLeftFunction
-
Evaluates the `LEFT` string function by extracting a substring from the left side of the given string.
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringLengthFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringLowerFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringMatchesFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringRightFunction
-
Evaluates the `RIGHT` string function by extracting a substring from the right side of the given string.
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringSplitFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringStartsWithFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringSubstringFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringTrimFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringUpperFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.AcosFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.AcosHFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.AcosRFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.AcotFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.AcotHFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.AcotRFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.AsinFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.AsinHFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.AsinRFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.Atan2Function
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.Atan2RFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.AtanFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.AtanHFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.AtanRFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.CosFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.CosHFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.CosRFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.CotFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.CotHFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.CotRFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.CscFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.CscHFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.CscRFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.DegFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.RadFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.SecFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.SecHFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.SecRFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.SinFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.SinHFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.SinRFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.TanFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.TanHFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.trigonometric.TanRFunction
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.arithmetic.InfixDivisionOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.arithmetic.InfixMinusOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.arithmetic.InfixModuloOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.arithmetic.InfixMultiplicationOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.arithmetic.InfixPlusOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.arithmetic.InfixPowerOfOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.arithmetic.PrefixMinusOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.arithmetic.PrefixPlusOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.booleans.InfixAndOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.booleans.InfixEqualsOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.booleans.InfixGreaterEqualsOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.booleans.InfixGreaterOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.booleans.InfixLessEqualsOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.booleans.InfixLessOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.booleans.InfixNotEqualsOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.booleans.InfixOrOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in class com.ezylang.evalex.operators.booleans.PrefixNotOperator
- evaluate(Expression, Token, EvaluationValue...) - Method in interface com.ezylang.evalex.operators.OperatorIfc
-
Performs the operator logic and returns an evaluation result.
- evaluateSubtree(ASTNode) - Method in class com.ezylang.evalex.Expression
-
Evaluates only a subtree of the abstract syntax tree.
- EvaluationException - Exception in com.ezylang.evalex
-
Exception while evaluating the parsed expression.
- EvaluationException(Token, String) - Constructor for exception com.ezylang.evalex.EvaluationException
- EvaluationValue - Class in com.ezylang.evalex.data
-
The representation of the final or intermediate evaluation result value.
- EvaluationValue(Object, ExpressionConfiguration) - Constructor for class com.ezylang.evalex.data.EvaluationValue
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
EvaluationValue.of(Object, ExpressionConfiguration)instead. - EvaluationValue.DataType - Enum in com.ezylang.evalex.data
-
The supported data types.
- EvaluationValueConverterIfc - Interface in com.ezylang.evalex.data.conversion
-
Converter interface to be implemented by configurable evaluation value converters.
- Expression - Class in com.ezylang.evalex
-
Main class that allow creating, parsing, passing parameters and evaluating an expression string.
- Expression(Expression) - Constructor for class com.ezylang.evalex.Expression
-
Creates a copy with the same expression string, configuration and syntax tree from an existing expression.
- Expression(String) - Constructor for class com.ezylang.evalex.Expression
-
Creates a new expression with the default configuration.
- Expression(String, ExpressionConfiguration) - Constructor for class com.ezylang.evalex.Expression
-
Creates a new expression with a custom configuration.
- EXPRESSION_NODE - com.ezylang.evalex.data.EvaluationValue.DataType
-
Used for lazy parameter evaluation, stored as an
ASTNode, which can be evaluated on demand. - ExpressionConfiguration - Class in com.ezylang.evalex.config
-
The expression configuration can be used to configure various aspects of expression parsing and evaluation.
- ExpressionConfiguration() - Constructor for class com.ezylang.evalex.config.ExpressionConfiguration
- ExpressionNodeConverter - Class in com.ezylang.evalex.data.conversion
-
Converter to convert to the EXPRESSION_NODE data type.
- ExpressionNodeConverter() - Constructor for class com.ezylang.evalex.data.conversion.ExpressionNodeConverter
- expressionNodeValue(ASTNode) - Static method in class com.ezylang.evalex.data.EvaluationValue
-
Creates a new expression node value.
F
- FactFunction - Class in com.ezylang.evalex.functions.basic
-
Factorial function, calculates the factorial of a base value.
- FactFunction() - Constructor for class com.ezylang.evalex.functions.basic.FactFunction
- FALSE - Static variable in class com.ezylang.evalex.data.EvaluationValue
-
A pre-built, immutable,
falseboolean value. - FloorFunction - Class in com.ezylang.evalex.functions.basic
-
Rounds the given value to an integer using the rounding mode
RoundingMode.FLOOR - FloorFunction() - Constructor for class com.ezylang.evalex.functions.basic.FloorFunction
- FUNCTION - com.ezylang.evalex.parser.Token.TokenType
- FUNCTION_PARAM_START - com.ezylang.evalex.parser.Token.TokenType
- FunctionDictionaryIfc - Interface in com.ezylang.evalex.config
-
A function dictionary holds all the functions, that can be used in an expression.
- FunctionIfc - Interface in com.ezylang.evalex.functions
-
Interface that is required for all functions in a function dictionary for evaluation of expressions.
- FunctionParameter - Annotation Type in com.ezylang.evalex.functions
-
Annotation to define a function parameter.
- FunctionParameterDefinition - Class in com.ezylang.evalex.functions
-
Definition of a function parameter.
- FunctionParameterDefinition() - Constructor for class com.ezylang.evalex.functions.FunctionParameterDefinition
- FunctionParameters - Annotation Type in com.ezylang.evalex.functions
-
Collator for repeatable
FunctionParameterannotations.
G
- getAbstractSyntaxTree() - Method in class com.ezylang.evalex.Expression
-
Returns the root ode of the parsed abstract syntax tree.
- getAllASTNodes() - Method in class com.ezylang.evalex.Expression
-
Returns the list of all nodes of the abstract syntax tree.
- getArrayValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Gets a
Listrepresentation of the value. - getBooleanValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Gets a
Booleanrepresentation of the value. - getCountOfNonVarArgParameters() - Method in interface com.ezylang.evalex.functions.FunctionIfc
-
Returns the count of non-var-arg parameters defined by this function.
- getData(String) - Method in interface com.ezylang.evalex.data.DataAccessorIfc
-
Retrieves a data value.
- getData(String) - Method in class com.ezylang.evalex.data.MapBasedDataAccessor
- getDateTimeValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Gets a
Instantrepresentation of the value. - getDurationValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Gets a
Durationrepresentation of the value. - getExpressionNode() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Gets the expression node, if this value is of type
EvaluationValue.DataType.EXPRESSION_NODE. - getFunction(String) - Method in interface com.ezylang.evalex.config.FunctionDictionaryIfc
-
Get the function definition for a function name.
- getFunction(String) - Method in class com.ezylang.evalex.config.MapBasedFunctionDictionary
- getFunctionParameterDefinitions() - Method in class com.ezylang.evalex.functions.AbstractFunction
- getFunctionParameterDefinitions() - Method in interface com.ezylang.evalex.functions.FunctionIfc
-
Returns the list of parameter definitions.
- getInfixOperator(String) - Method in class com.ezylang.evalex.config.MapBasedOperatorDictionary
- getInfixOperator(String) - Method in interface com.ezylang.evalex.config.OperatorDictionaryIfc
-
Get the operator definition for an infix operator name.
- getNumberValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Gets a
BigDecimalrepresentation of the value. - getPostfixOperator(String) - Method in class com.ezylang.evalex.config.MapBasedOperatorDictionary
- getPostfixOperator(String) - Method in interface com.ezylang.evalex.config.OperatorDictionaryIfc
-
Get the operator definition for a postfix operator name.
- getPrecedence() - Method in interface com.ezylang.evalex.operators.OperatorIfc
- getPrecedence(ExpressionConfiguration) - Method in class com.ezylang.evalex.operators.AbstractOperator
- getPrecedence(ExpressionConfiguration) - Method in class com.ezylang.evalex.operators.arithmetic.InfixPowerOfOperator
- getPrecedence(ExpressionConfiguration) - Method in interface com.ezylang.evalex.operators.OperatorIfc
-
Called during parsing, can be implemented to return a customized precedence.
- getPrefixOperator(String) - Method in class com.ezylang.evalex.config.MapBasedOperatorDictionary
- getPrefixOperator(String) - Method in interface com.ezylang.evalex.config.OperatorDictionaryIfc
-
Get the operator definition for a prefix operator name.
- getStringValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Gets a
Stringrepresentation of the value. - getStructureValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Gets a
Maprepresentation of the value. - getUndefinedVariables() - Method in class com.ezylang.evalex.Expression
-
Returns all variables that are used in the expression, but have no value assigned.
- getUsedVariables() - Method in class com.ezylang.evalex.Expression
-
Returns all variables that are used i the expression, excluding the constants like e.g.
H
- hasFunction(String) - Method in interface com.ezylang.evalex.config.FunctionDictionaryIfc
-
Check if the dictionary has a function with that name.
- hasInfixOperator(String) - Method in interface com.ezylang.evalex.config.OperatorDictionaryIfc
-
Check if the dictionary has an infix operator with that name.
- hasPostfixOperator(String) - Method in interface com.ezylang.evalex.config.OperatorDictionaryIfc
-
Check if the dictionary has a postfix operator with that name.
- hasPrefixOperator(String) - Method in interface com.ezylang.evalex.config.OperatorDictionaryIfc
-
Check if the dictionary has a prefix operator with that name.
- hasVarArgs() - Method in class com.ezylang.evalex.functions.AbstractFunction
- hasVarArgs() - Method in interface com.ezylang.evalex.functions.FunctionIfc
-
Checks whether the function has a variable number of arguments parameter.
I
- IfFunction - Class in com.ezylang.evalex.functions.basic
-
Conditional evaluation function.
- IfFunction() - Constructor for class com.ezylang.evalex.functions.basic.IfFunction
- illegalArgument(Object) - Method in interface com.ezylang.evalex.data.conversion.ConverterIfc
- INFIX_OPERATOR - com.ezylang.evalex.operators.OperatorIfc.OperatorType
-
Binary infix operator, like x+y
- INFIX_OPERATOR - com.ezylang.evalex.parser.Token.TokenType
- InfixAndOperator - Class in com.ezylang.evalex.operators.booleans
-
Boolean AND of two values.
- InfixAndOperator() - Constructor for class com.ezylang.evalex.operators.booleans.InfixAndOperator
- InfixDivisionOperator - Class in com.ezylang.evalex.operators.arithmetic
-
Division of two numbers.
- InfixDivisionOperator() - Constructor for class com.ezylang.evalex.operators.arithmetic.InfixDivisionOperator
- InfixEqualsOperator - Class in com.ezylang.evalex.operators.booleans
-
Equality of two values.
- InfixEqualsOperator() - Constructor for class com.ezylang.evalex.operators.booleans.InfixEqualsOperator
- InfixGreaterEqualsOperator - Class in com.ezylang.evalex.operators.booleans
-
Greater or equals of two values.
- InfixGreaterEqualsOperator() - Constructor for class com.ezylang.evalex.operators.booleans.InfixGreaterEqualsOperator
- InfixGreaterOperator - Class in com.ezylang.evalex.operators.booleans
-
Greater of two values.
- InfixGreaterOperator() - Constructor for class com.ezylang.evalex.operators.booleans.InfixGreaterOperator
- InfixLessEqualsOperator - Class in com.ezylang.evalex.operators.booleans
-
Less or equals of two values.
- InfixLessEqualsOperator() - Constructor for class com.ezylang.evalex.operators.booleans.InfixLessEqualsOperator
- InfixLessOperator - Class in com.ezylang.evalex.operators.booleans
-
Less of two values.
- InfixLessOperator() - Constructor for class com.ezylang.evalex.operators.booleans.InfixLessOperator
- InfixMinusOperator - Class in com.ezylang.evalex.operators.arithmetic
-
Subtraction of two numbers.
- InfixMinusOperator() - Constructor for class com.ezylang.evalex.operators.arithmetic.InfixMinusOperator
- InfixModuloOperator - Class in com.ezylang.evalex.operators.arithmetic
-
Remainder (modulo) of two numbers.
- InfixModuloOperator() - Constructor for class com.ezylang.evalex.operators.arithmetic.InfixModuloOperator
- InfixMultiplicationOperator - Class in com.ezylang.evalex.operators.arithmetic
-
Multiplication of two numbers.
- InfixMultiplicationOperator() - Constructor for class com.ezylang.evalex.operators.arithmetic.InfixMultiplicationOperator
- InfixNotEqualsOperator - Class in com.ezylang.evalex.operators.booleans
-
No equality of two values.
- InfixNotEqualsOperator() - Constructor for class com.ezylang.evalex.operators.booleans.InfixNotEqualsOperator
- InfixOperator - Annotation Type in com.ezylang.evalex.operators
-
The infix operator annotation
- InfixOrOperator - Class in com.ezylang.evalex.operators.booleans
-
Boolean OR of two values.
- InfixOrOperator() - Constructor for class com.ezylang.evalex.operators.booleans.InfixOrOperator
- InfixPlusOperator - Class in com.ezylang.evalex.operators.arithmetic
-
Addition of numbers and strings.
- InfixPlusOperator() - Constructor for class com.ezylang.evalex.operators.arithmetic.InfixPlusOperator
- InfixPowerOfOperator - Class in com.ezylang.evalex.operators.arithmetic
-
Power of operator, calculates the power of right operand of left operand.
- InfixPowerOfOperator() - Constructor for class com.ezylang.evalex.operators.arithmetic.InfixPowerOfOperator
- isArrayValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Checks if the value is of type
EvaluationValue.DataType.ARRAY. - isBinaryValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Checks if the value is of type
EvaluationValue.DataType.BINARY. - isBooleanValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Checks if the value is of type
EvaluationValue.DataType.BOOLEAN. - isDateTimeValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Checks if the value is of type
EvaluationValue.DataType.DATE_TIME. - isDurationValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Checks if the value is of type
EvaluationValue.DataType.DURATION. - isExpressionNode() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Checks if the value is of type
EvaluationValue.DataType.EXPRESSION_NODE. - isInfix() - Method in class com.ezylang.evalex.operators.AbstractOperator
- isInfix() - Method in interface com.ezylang.evalex.operators.OperatorIfc
-
If it is an infix operator.
- isLazy() - Method in annotation type com.ezylang.evalex.functions.FunctionParameter
-
If the parameter is lazily evaluated.
- isLeftAssociative() - Method in class com.ezylang.evalex.operators.AbstractOperator
- isLeftAssociative() - Method in interface com.ezylang.evalex.operators.OperatorIfc
-
If operators with same precedence are evaluated from left to right.
- isNullValue() - Method in class com.ezylang.evalex.data.EvaluationValue
- isNumberValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Checks if the value is of type
EvaluationValue.DataType.NUMBER. - isOperandLazy() - Method in class com.ezylang.evalex.operators.AbstractOperator
- isOperandLazy() - Method in interface com.ezylang.evalex.operators.OperatorIfc
-
Checks if the operand is lazy.
- isParameterLazy(int) - Method in interface com.ezylang.evalex.functions.FunctionIfc
-
Checks if the parameter is a lazy parameter.
- isPostfix() - Method in class com.ezylang.evalex.operators.AbstractOperator
- isPostfix() - Method in interface com.ezylang.evalex.operators.OperatorIfc
-
If it is a postfix operator.
- isPrefix() - Method in class com.ezylang.evalex.operators.AbstractOperator
- isPrefix() - Method in interface com.ezylang.evalex.operators.OperatorIfc
-
If it is a prefix operator.
- isStringValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Checks if the value is of type
EvaluationValue.DataType.STRING. - isStructureValue() - Method in class com.ezylang.evalex.data.EvaluationValue
-
Checks if the value is of type
EvaluationValue.DataType.STRUCTURE. - isVarArg() - Method in annotation type com.ezylang.evalex.functions.FunctionParameter
-
If the parameter is a variable arg type (repeatable).
L
- leftAssociative() - Method in annotation type com.ezylang.evalex.operators.InfixOperator
-
Operator associativity, defaults to
true. - leftAssociative() - Method in annotation type com.ezylang.evalex.operators.PostfixOperator
-
Operator associativity, defaults to
true. - leftAssociative() - Method in annotation type com.ezylang.evalex.operators.PrefixOperator
-
Operator associativity, defaults to
true. - Log10Function - Class in com.ezylang.evalex.functions.basic
-
The base 10 logarithm of a value
- Log10Function() - Constructor for class com.ezylang.evalex.functions.basic.Log10Function
- LogFunction - Class in com.ezylang.evalex.functions.basic
-
The natural logarithm (base e) of a value
- LogFunction() - Constructor for class com.ezylang.evalex.functions.basic.LogFunction
M
- MapBasedDataAccessor - Class in com.ezylang.evalex.data
-
A default case-insensitive implementation of the data accessor that uses a local
Map.Entry<String, EvaluationValue>for storage. - MapBasedDataAccessor() - Constructor for class com.ezylang.evalex.data.MapBasedDataAccessor
- MapBasedFunctionDictionary - Class in com.ezylang.evalex.config
-
A default case-insensitive implementation of the function dictionary that uses a local
Map.Entry<String, FunctionIfc>for storage. - MapBasedFunctionDictionary() - Constructor for class com.ezylang.evalex.config.MapBasedFunctionDictionary
- MapBasedOperatorDictionary - Class in com.ezylang.evalex.config
-
A default case-insensitive implementation of the operator dictionary that uses a local
Map.Entry<String,OperatorIfc>for storage. - MapBasedOperatorDictionary() - Constructor for class com.ezylang.evalex.config.MapBasedOperatorDictionary
- MaxFunction - Class in com.ezylang.evalex.functions.basic
-
Returns the maximum value of all parameters.
- MaxFunction() - Constructor for class com.ezylang.evalex.functions.basic.MaxFunction
- MinFunction - Class in com.ezylang.evalex.functions.basic
-
Returns the minimum value of all parameters.
- MinFunction() - Constructor for class com.ezylang.evalex.functions.basic.MinFunction
- MINUS_ONE - Static variable in class com.ezylang.evalex.functions.AbstractFunction
N
- name() - Method in annotation type com.ezylang.evalex.functions.FunctionParameter
-
The parameter name.
- nonNegative() - Method in annotation type com.ezylang.evalex.functions.FunctionParameter
-
If the parameter does not allow negative values.
- nonZero() - Method in annotation type com.ezylang.evalex.functions.FunctionParameter
-
If the parameter does not allow zero values.
- NotFunction - Class in com.ezylang.evalex.functions.basic
-
Boolean negation function.
- NotFunction() - Constructor for class com.ezylang.evalex.functions.basic.NotFunction
- NULL - com.ezylang.evalex.data.EvaluationValue.DataType
-
A null value
- NULL_VALUE - Static variable in class com.ezylang.evalex.data.EvaluationValue
-
A pre-built, immutable, null value.
- nullValue() - Static method in class com.ezylang.evalex.data.EvaluationValue
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
EvaluationValue.NULL_VALUEinstead - NUMBER - com.ezylang.evalex.data.EvaluationValue.DataType
-
Any number, stored as
BigDecimal. - NUMBER_LITERAL - com.ezylang.evalex.parser.Token.TokenType
- NumberConverter - Class in com.ezylang.evalex.data.conversion
-
Converter to convert to the NUMBER data type.
- NumberConverter() - Constructor for class com.ezylang.evalex.data.conversion.NumberConverter
- numberOfString(String, MathContext) - Static method in class com.ezylang.evalex.data.EvaluationValue
-
Creates a
EvaluationValue.DataType.NUMBERvalue from aString. - numberValue(BigDecimal) - Static method in class com.ezylang.evalex.data.EvaluationValue
-
Creates a new number value.
O
- of(Object, ExpressionConfiguration) - Static method in class com.ezylang.evalex.data.EvaluationValue
-
Creates a new evaluation value by using the configured converter and configuration.
- ofFunctions(Map.Entry<String, FunctionIfc>...) - Static method in class com.ezylang.evalex.config.MapBasedFunctionDictionary
-
Creates a new function dictionary with the specified list of functions.
- ofOperators(Map.Entry<String, OperatorIfc>...) - Static method in class com.ezylang.evalex.config.MapBasedOperatorDictionary
-
Creates a new operator dictionary with the specified list of operators.
- ofUnsupportedDataTypeInOperation(Token) - Static method in exception com.ezylang.evalex.EvaluationException
- operandsLazy() - Method in annotation type com.ezylang.evalex.operators.InfixOperator
-
Operands are evaluated lazily, defaults to
false. - OPERATOR_PRECEDENCE_ADDITIVE - Static variable in interface com.ezylang.evalex.operators.OperatorIfc
-
Additive operators precedence: + and -
- OPERATOR_PRECEDENCE_AND - Static variable in interface com.ezylang.evalex.operators.OperatorIfc
-
And operator precedence: &&
- OPERATOR_PRECEDENCE_COMPARISON - Static variable in interface com.ezylang.evalex.operators.OperatorIfc
-
Comparative operators precedence: <, >, <=, >=
- OPERATOR_PRECEDENCE_EQUALITY - Static variable in interface com.ezylang.evalex.operators.OperatorIfc
-
Equality operators precedence: =, ==, !=, <>
- OPERATOR_PRECEDENCE_MULTIPLICATIVE - Static variable in interface com.ezylang.evalex.operators.OperatorIfc
-
Multiplicative operators precedence: *, /, %
- OPERATOR_PRECEDENCE_OR - Static variable in interface com.ezylang.evalex.operators.OperatorIfc
-
Or operator precedence: ||
- OPERATOR_PRECEDENCE_POWER - Static variable in interface com.ezylang.evalex.operators.OperatorIfc
-
Power operator precedence: ^
- OPERATOR_PRECEDENCE_POWER_HIGHER - Static variable in interface com.ezylang.evalex.operators.OperatorIfc
-
An optional higher power operator precedence, higher than the unary prefix, e.g.
- OPERATOR_PRECEDENCE_UNARY - Static variable in interface com.ezylang.evalex.operators.OperatorIfc
-
Unary operators precedence: + and - as prefix
- OperatorAnnotationNotFoundException - Exception in com.ezylang.evalex.operators
-
Operator properties are defined through a class annotation, this exception is thrown if no annotation was found when creating the operator instance.
- OperatorAnnotationNotFoundException(String) - Constructor for exception com.ezylang.evalex.operators.OperatorAnnotationNotFoundException
- OperatorDictionaryIfc - Interface in com.ezylang.evalex.config
-
An operator dictionary holds all the operators, that can be used in an expression.
- OperatorIfc - Interface in com.ezylang.evalex.operators
-
Interface that is required for all operators in an operator dictionary for evaluation of expressions.
- OperatorIfc.OperatorType - Enum in com.ezylang.evalex.operators
-
The operator type.
P
- parse() - Method in class com.ezylang.evalex.parser.Tokenizer
-
Parse the given expression and return a list of tokens, representing the expression.
- parseDateTime(String, ZoneId, List<DateTimeFormatter>) - Method in class com.ezylang.evalex.data.conversion.DateTimeConverter
-
Tries to parse a date-time string by trying out each format in the list.
- ParseException - Exception in com.ezylang.evalex.parser
-
Exception while parsing the expression.
- ParseException(int, int, String, String) - Constructor for exception com.ezylang.evalex.parser.ParseException
- ParseException(Token, String) - Constructor for exception com.ezylang.evalex.parser.ParseException
- ParseException(String, String) - Constructor for exception com.ezylang.evalex.parser.ParseException
- POSTFIX_OPERATOR - com.ezylang.evalex.operators.OperatorIfc.OperatorType
-
Unary postfix operator,like x!
- POSTFIX_OPERATOR - com.ezylang.evalex.parser.Token.TokenType
- PostfixOperator - Annotation Type in com.ezylang.evalex.operators
-
The postfix operator annotation
- precedence() - Method in annotation type com.ezylang.evalex.operators.InfixOperator
-
Operator precedence, usually one from the constants in
OperatorIfc. - precedence() - Method in annotation type com.ezylang.evalex.operators.PostfixOperator
-
Operator precedence, usually one from the constants in
OperatorIfc. - precedence() - Method in annotation type com.ezylang.evalex.operators.PrefixOperator
-
Operator precedence, usually one from the constants in
OperatorIfc. - PREFIX_OPERATOR - com.ezylang.evalex.operators.OperatorIfc.OperatorType
-
Unary prefix operator, like -x
- PREFIX_OPERATOR - com.ezylang.evalex.parser.Token.TokenType
- PrefixMinusOperator - Class in com.ezylang.evalex.operators.arithmetic
-
Unary prefix minus.
- PrefixMinusOperator() - Constructor for class com.ezylang.evalex.operators.arithmetic.PrefixMinusOperator
- PrefixNotOperator - Class in com.ezylang.evalex.operators.booleans
-
Boolean negation of value.
- PrefixNotOperator() - Constructor for class com.ezylang.evalex.operators.booleans.PrefixNotOperator
- PrefixOperator - Annotation Type in com.ezylang.evalex.operators
-
The prefix operator annotation
- PrefixPlusOperator - Class in com.ezylang.evalex.operators.arithmetic
-
Unary prefix plus.
- PrefixPlusOperator() - Constructor for class com.ezylang.evalex.operators.arithmetic.PrefixPlusOperator
R
- RadFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
- RadFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.RadFunction
- RandomFunction - Class in com.ezylang.evalex.functions.basic
-
Random function produces a random value between 0 and 1.
- RandomFunction() - Constructor for class com.ezylang.evalex.functions.basic.RandomFunction
- RoundFunction - Class in com.ezylang.evalex.functions.basic
-
Rounds the given value to the specified scale, using the
MathContextof the expression configuration. - RoundFunction() - Constructor for class com.ezylang.evalex.functions.basic.RoundFunction
S
- SecFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the secant (in degrees).
- SecFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.SecFunction
- SecHFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the hyperbolic secant.
- SecHFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.SecHFunction
- SecRFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the secant (in radians).
- SecRFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.SecRFunction
- setData(String, EvaluationValue) - Method in interface com.ezylang.evalex.data.DataAccessorIfc
-
Sets a data value.
- setData(String, EvaluationValue) - Method in class com.ezylang.evalex.data.MapBasedDataAccessor
- ShuntingYardConverter - Class in com.ezylang.evalex.parser
-
The shunting yard algorithm can be used to convert a mathematical expression from an infix notation into either a postfix notation (RPN, reverse polish notation), or into an abstract syntax tree (AST).
- ShuntingYardConverter(String, List<Token>, ExpressionConfiguration) - Constructor for class com.ezylang.evalex.parser.ShuntingYardConverter
- SinFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the trigonometric sine of an angle (in degrees).
- SinFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.SinFunction
- SinHFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the hyperbolic sine of a value.
- SinHFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.SinHFunction
- SinRFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the trigonometric sine of an angle (in radians).
- SinRFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.SinRFunction
- SqrtFunction - Class in com.ezylang.evalex.functions.basic
-
Square root function, uses the implementation from The Java Programmers Guide To numerical Computing by Ronald Mak, 2002.
- SqrtFunction() - Constructor for class com.ezylang.evalex.functions.basic.SqrtFunction
- StandardConstants - Static variable in class com.ezylang.evalex.config.ExpressionConfiguration
-
The standard set constants for EvalEx.
- STRING - com.ezylang.evalex.data.EvaluationValue.DataType
-
A string of characters, stored as
String. - STRING_LITERAL - com.ezylang.evalex.parser.Token.TokenType
- StringContains - Class in com.ezylang.evalex.functions.string
-
Returns true if the string contains the substring (case-insensitive).
- StringContains() - Constructor for class com.ezylang.evalex.functions.string.StringContains
- StringConverter - Class in com.ezylang.evalex.data.conversion
-
Converter to convert to the STRING data type.
- StringConverter() - Constructor for class com.ezylang.evalex.data.conversion.StringConverter
- StringEndsWithFunction - Class in com.ezylang.evalex.functions.string
-
Returns true if the string ends with the substring (case-sensitive).
- StringEndsWithFunction() - Constructor for class com.ezylang.evalex.functions.string.StringEndsWithFunction
- StringFormatFunction - Class in com.ezylang.evalex.functions.string
-
Returns a formatted string using the specified format string and arguments, using the configured locale.
- StringFormatFunction() - Constructor for class com.ezylang.evalex.functions.string.StringFormatFunction
- StringLeftFunction - Class in com.ezylang.evalex.functions.string
-
Represents a function that extracts a substring from the left side of a given string.
- StringLeftFunction() - Constructor for class com.ezylang.evalex.functions.string.StringLeftFunction
- StringLengthFunction - Class in com.ezylang.evalex.functions.string
-
Returns the length of the string.
- StringLengthFunction() - Constructor for class com.ezylang.evalex.functions.string.StringLengthFunction
- StringLowerFunction - Class in com.ezylang.evalex.functions.string
-
Converts the given value to lower case.
- StringLowerFunction() - Constructor for class com.ezylang.evalex.functions.string.StringLowerFunction
- StringMatchesFunction - Class in com.ezylang.evalex.functions.string
-
Returns true if the string matches the pattern.
- StringMatchesFunction() - Constructor for class com.ezylang.evalex.functions.string.StringMatchesFunction
- StringRightFunction - Class in com.ezylang.evalex.functions.string
-
Represents a function that extracts a substring from the right side of a given string.
- StringRightFunction() - Constructor for class com.ezylang.evalex.functions.string.StringRightFunction
- StringSplitFunction - Class in com.ezylang.evalex.functions.string
-
A function that splits a string into an array, separators specified.
- StringSplitFunction() - Constructor for class com.ezylang.evalex.functions.string.StringSplitFunction
- StringStartsWithFunction - Class in com.ezylang.evalex.functions.string
-
Returns true if the string starts with the substring (case-sensitive).
- StringStartsWithFunction() - Constructor for class com.ezylang.evalex.functions.string.StringStartsWithFunction
- StringSubstringFunction - Class in com.ezylang.evalex.functions.string
-
Returns a substring of a string.
- StringSubstringFunction() - Constructor for class com.ezylang.evalex.functions.string.StringSubstringFunction
- StringTrimFunction - Class in com.ezylang.evalex.functions.string
-
Returns the given string with all leading and trailing space removed.
- StringTrimFunction() - Constructor for class com.ezylang.evalex.functions.string.StringTrimFunction
- StringUpperFunction - Class in com.ezylang.evalex.functions.string
-
Converts the given value to upper case.
- StringUpperFunction() - Constructor for class com.ezylang.evalex.functions.string.StringUpperFunction
- stringValue(String) - Static method in class com.ezylang.evalex.data.EvaluationValue
-
Creates a new string value.
- STRUCTURE - com.ezylang.evalex.data.EvaluationValue.DataType
-
A structure with pairs of name/value members.
- STRUCTURE_SEPARATOR - com.ezylang.evalex.parser.Token.TokenType
- StructureConverter - Class in com.ezylang.evalex.data.conversion
-
Converter to convert to the STRUCTURE data type.
- StructureConverter() - Constructor for class com.ezylang.evalex.data.conversion.StructureConverter
- structureValue(Map<?, ?>) - Static method in class com.ezylang.evalex.data.EvaluationValue
-
Creates a new structure value.
- SumFunction - Class in com.ezylang.evalex.functions.basic
-
Returns the sum value of all parameters.
- SumFunction() - Constructor for class com.ezylang.evalex.functions.basic.SumFunction
- SwitchFunction - Class in com.ezylang.evalex.functions.basic
-
A function that evaluates one value (or expression) against a list of values, and returns the result corresponding to the first matching value.
- SwitchFunction() - Constructor for class com.ezylang.evalex.functions.basic.SwitchFunction
T
- TanFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the trigonometric tangent of an angle (in degrees).
- TanFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.TanFunction
- TanHFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the hyperbolic tangent of a value.
- TanHFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.TanHFunction
- TanRFunction - Class in com.ezylang.evalex.functions.trigonometric
-
Returns the trigonometric tangent of an angle (in radians).
- TanRFunction() - Constructor for class com.ezylang.evalex.functions.trigonometric.TanRFunction
- toAbstractSyntaxTree() - Method in class com.ezylang.evalex.parser.ShuntingYardConverter
- toJSON() - Method in class com.ezylang.evalex.parser.ASTNode
-
Produces a JSON string representation of this node ad all its children.
- Token - Class in com.ezylang.evalex.parser
-
A token represents a single part of an expression, like an operator, number literal, or a brace.
- Token(int, String, Token.TokenType) - Constructor for class com.ezylang.evalex.parser.Token
- Token(int, String, Token.TokenType, FunctionIfc) - Constructor for class com.ezylang.evalex.parser.Token
- Token(int, String, Token.TokenType, OperatorIfc) - Constructor for class com.ezylang.evalex.parser.Token
- Token.TokenType - Enum in com.ezylang.evalex.parser
- Tokenizer - Class in com.ezylang.evalex.parser
-
The tokenizer is responsible to parse a string and return a list of tokens.
- Tokenizer(String, ExpressionConfiguration) - Constructor for class com.ezylang.evalex.parser.Tokenizer
- TRUE - Static variable in class com.ezylang.evalex.data.EvaluationValue
-
A pre-built, immutable,
trueboolean value.
V
- validate() - Method in class com.ezylang.evalex.Expression
-
Validates the expression by parsing it and throwing an exception, if the parser fails.
- validatePreEvaluation(Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.AbstractFunction
- validatePreEvaluation(Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.datetime.DateTimeFormatFunction
- validatePreEvaluation(Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.datetime.DateTimeNewFunction
- validatePreEvaluation(Token, EvaluationValue...) - Method in interface com.ezylang.evalex.functions.FunctionIfc
-
Validates the evaluation parameters, called before the actual evaluation.
- validatePreEvaluation(Token, EvaluationValue...) - Method in class com.ezylang.evalex.functions.string.StringSubstringFunction
- value() - Method in annotation type com.ezylang.evalex.functions.FunctionParameters
- valueOf(String) - Static method in enum com.ezylang.evalex.data.EvaluationValue.DataType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ezylang.evalex.operators.OperatorIfc.OperatorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ezylang.evalex.parser.Token.TokenType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.ezylang.evalex.data.EvaluationValue.DataType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.ezylang.evalex.operators.OperatorIfc.OperatorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.ezylang.evalex.parser.Token.TokenType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VARIABLE_OR_CONSTANT - com.ezylang.evalex.parser.Token.TokenType
W
- with(String, Object) - Method in class com.ezylang.evalex.Expression
-
Adds a variable value to the expression data storage.
- withAdditionalFunctions(Map.Entry<String, FunctionIfc>...) - Method in class com.ezylang.evalex.config.ExpressionConfiguration
-
Adds additional functions to this configuration.
- withAdditionalOperators(Map.Entry<String, OperatorIfc>...) - Method in class com.ezylang.evalex.config.ExpressionConfiguration
-
Adds additional operators to this configuration.
- withValues(Map<String, ?>) - Method in class com.ezylang.evalex.Expression
-
Adds all variables values defined in the map with their name (key) and value to the data storage.If a value with the same name already exists, it is overridden.
Z
- ZoneIdConverter - Class in com.ezylang.evalex.functions.datetime
-
Validates and converts a zone ID.
- ZoneIdConverter() - Constructor for class com.ezylang.evalex.functions.datetime.ZoneIdConverter
All Classes All Packages