Uses of Interface
com.ezylang.evalex.functions.FunctionIfc
-
-
Uses of FunctionIfc in com.ezylang.evalex.config
Methods in com.ezylang.evalex.config that return FunctionIfc Modifier and Type Method Description FunctionIfcFunctionDictionaryIfc. getFunction(java.lang.String functionName)Get the function definition for a function name.FunctionIfcMapBasedFunctionDictionary. getFunction(java.lang.String functionName)Methods in com.ezylang.evalex.config with parameters of type FunctionIfc Modifier and Type Method Description voidFunctionDictionaryIfc. addFunction(java.lang.String functionName, FunctionIfc function)Allows to add a function to the dictionary.voidMapBasedFunctionDictionary. addFunction(java.lang.String functionName, FunctionIfc function) -
Uses of FunctionIfc in com.ezylang.evalex.functions
Classes in com.ezylang.evalex.functions that implement FunctionIfc Modifier and Type Class Description classAbstractFunctionAbstract implementation of theFunctionIfc, used as base class for function implementations. -
Uses of FunctionIfc in com.ezylang.evalex.functions.basic
Classes in com.ezylang.evalex.functions.basic that implement FunctionIfc Modifier and Type Class Description classAbsFunctionAbsolute (non-negative) value.classAbstractMinMaxFunctionclassAverageFunctionReturns the average (arithmetic mean) of the numeric arguments, with recursive support for arrays.classCeilingFunctionRounds the given value to an integer using the rounding modeRoundingMode.CEILINGclassCoalesceFunctionReturns the first non-null parameter, orEvaluationValue.NULL_VALUEif all parameters are null.classFactFunctionFactorial function, calculates the factorial of a base value.classFloorFunctionRounds the given value to an integer using the rounding modeRoundingMode.FLOORclassIfFunctionConditional evaluation function.classLog10FunctionThe base 10 logarithm of a valueclassLogFunctionThe natural logarithm (base e) of a valueclassMaxFunctionReturns the maximum value of all parameters.classMinFunctionReturns the minimum value of all parameters.classNotFunctionBoolean negation function.classRandomFunctionRandom function produces a random value between 0 and 1.classRoundFunctionRounds the given value to the specified scale, using theMathContextof the expression configuration.classSqrtFunctionSquare root function, uses the implementation from The Java Programmers Guide To numerical Computing by Ronald Mak, 2002.classSumFunctionReturns the sum value of all parameters.classSwitchFunctionA function that evaluates one value (or expression) against a list of values, and returns the result corresponding to the first matching value. -
Uses of FunctionIfc in com.ezylang.evalex.functions.datetime
Classes in com.ezylang.evalex.functions.datetime that implement FunctionIfc Modifier and Type Class Description classDateTimeFormatFunctionFunction to format a DATE_TIME vale.classDateTimeNewFunctionCreates a new DATE_TIME value with the given parameters.classDateTimeNowFunctionProduces a new DATE_TIME that represents the current date and time.classDateTimeParseFunctionParses a date-time string to aEvaluationValue.DataType.DATE_TIMEvalue.classDateTimeTodayFunctionProduces a new DATE_TIME that represents the current date, at midnight (00:00).classDateTimeToEpochFunctionFunction to convert a DATE_TIME value to milliseconds in the epoch of 1970-01-01T00:00:00Z.classDurationFromMillisFunctionConverts the given milliseconds to a DURATION value.classDurationNewFunctionFunction to create a new Duration.classDurationParseFunctionConverts the given ISO-8601 duration string representation to a duration value.classDurationToMillisFunctionConverts a DURATION value to the amount of milliseconds. -
Uses of FunctionIfc in com.ezylang.evalex.functions.string
Classes in com.ezylang.evalex.functions.string that implement FunctionIfc Modifier and Type Class Description classStringContainsReturns true if the string contains the substring (case-insensitive).classStringEndsWithFunctionReturns true if the string ends with the substring (case-sensitive).classStringFormatFunctionReturns a formatted string using the specified format string and arguments, using the configured locale.classStringLeftFunctionRepresents a function that extracts a substring from the left side of a given string.classStringLengthFunctionReturns the length of the string.classStringLowerFunctionConverts the given value to lower case.classStringMatchesFunctionReturns true if the string matches the pattern.classStringRightFunctionRepresents a function that extracts a substring from the right side of a given string.classStringSplitFunctionA function that splits a string into an array, separators specified.classStringStartsWithFunctionReturns true if the string starts with the substring (case-sensitive).classStringSubstringFunctionReturns a substring of a string.classStringTrimFunctionReturns the given string with all leading and trailing space removed.classStringUpperFunctionConverts the given value to upper case. -
Uses of FunctionIfc in com.ezylang.evalex.functions.trigonometric
Classes in com.ezylang.evalex.functions.trigonometric that implement FunctionIfc Modifier and Type Class Description classAcosFunctionReturns the arc-cosine (in degrees).classAcosHFunctionReturns the hyperbolic arc-cosine.classAcosRFunctionReturns the arc-cosine (in radians).classAcotFunctionReturns the arc-co-tangent (in degrees).classAcotHFunctionReturns the arc hyperbolic cotangent.classAcotRFunctionReturns the arc-co-tangent (in radians).classAsinFunctionReturns the arc-sine (in degrees).classAsinHFunctionReturns the hyperbolic arc-sine.classAsinRFunctionReturns the arc-sine (in radians).classAtan2FunctionReturns the angle of atan2 (in degrees).classAtan2RFunctionReturns the angle of atan2 (in radians).classAtanFunctionReturns the arc-tangent (in degrees).classAtanHFunctionReturns the hyperbolic arc-sine.classAtanRFunctionReturns the arc-tangent (in radians).classCosFunctionReturns the trigonometric cosine of an angle (in degrees).classCosHFunctionReturns the hyperbolic cosine of a value.classCosRFunctionReturns the trigonometric cosine of an angle (in radians).classCotFunctionReturns the co-tangent of an angle (in degrees).classCotHFunctionReturns the hyperbolic co-tangent of a value.classCotRFunctionReturns the trigonometric co-tangent of an angle (in radians).classCscFunctionReturns the co-secant (in degrees).classCscHFunctionReturns the co-secant.classCscRFunctionReturns the co-secant (in radians).classDegFunctionConverts an angle measured in radians to an approximately equivalent angle measured in degrees.classRadFunctionConverts an angle measured in degrees to an approximately equivalent angle measured in radians.classSecFunctionReturns the secant (in degrees).classSecHFunctionReturns the hyperbolic secant.classSecRFunctionReturns the secant (in radians).classSinFunctionReturns the trigonometric sine of an angle (in degrees).classSinHFunctionReturns the hyperbolic sine of a value.classSinRFunctionReturns the trigonometric sine of an angle (in radians).classTanFunctionReturns the trigonometric tangent of an angle (in degrees).classTanHFunctionReturns the hyperbolic tangent of a value.classTanRFunctionReturns the trigonometric tangent of an angle (in radians). -
Uses of FunctionIfc in com.ezylang.evalex.parser
Constructors in com.ezylang.evalex.parser with parameters of type FunctionIfc Constructor Description Token(int startPosition, java.lang.String value, Token.TokenType type, FunctionIfc functionDefinition)
-