Class StiFunctionsProgramming
java.lang.Object
com.stimulsoft.report.dictionary.functions.StiFunctionsProgramming
Copyright Stimulsoft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringEvaluates the specified expression in the context of the given report.static doubleevalDecimal(Object report, String expression) Evaluates the specified expression in the context of the given report and returns the result as a decimal.static doubleevalDouble(Object report, String expression) Evaluates the specified expression in the context of the given report and returns the result as a double.static longEvaluates the specified expression in the context of the given report and returns the result as a long.static Objectrand()A double-precision floating-point number greater than or equal to 0.0 and less than 1.0.static Objectrand(int seed) A double-precision floating-point number greater than or equal to 0.0 and less than 1.0.static StringReturns a simplified runtime identifier built from the current runtime version.static StringReturns the runtime product name for the current environment.static StringReturns operating system family information for the current environment.static StringReturns the runtime type name for the current environment.static StringReturns the runtime version for the current environment.
-
Constructor Details
-
StiFunctionsProgramming
public StiFunctionsProgramming()
-
-
Method Details
-
runtimeType
Returns the runtime type name for the current environment.- Returns:
- The runtime type name.
-
runtimeName
Returns the runtime product name for the current environment.- Returns:
- The runtime product name.
-
runtimeVersion
Returns the runtime version for the current environment.- Returns:
- The runtime version.
-
runtimeIdentifier
Returns a simplified runtime identifier built from the current runtime version.- Returns:
- The runtime identifier string.
-
runtimeOS
Returns operating system family information for the current environment.- Returns:
- The operating system family name.
-
eval
Evaluates the specified expression in the context of the given report.- Parameters:
report- The report Object in which context the expression will be evaluated.expression- The expression to be evaluated.- Returns:
- The result of the evaluated expression as a String.
-
evalDecimal
Evaluates the specified expression in the context of the given report and returns the result as a decimal.- Parameters:
report- The report Object in which context the expression will be evaluated.expression- The expression to be evaluated.- Returns:
- The result of the evaluated expression as a decimal.
-
evalDouble
Evaluates the specified expression in the context of the given report and returns the result as a double.- Parameters:
report- The report Object in which context the expression will be evaluated.expression- The expression to be evaluated.- Returns:
- The result of the evaluated expression as a double.
-
evalLong
Evaluates the specified expression in the context of the given report and returns the result as a long.- Parameters:
report- The report Object in which context the expression will be evaluated.expression- The expression to be evaluated.- Returns:
- The result of the evaluated expression as a long.
-
rand
A double-precision floating-point number greater than or equal to 0.0 and less than 1.0.- Returns:
-
rand
A double-precision floating-point number greater than or equal to 0.0 and less than 1.0.- Returns:
-