A B C D E F G H I L M N O P R S T U V W Y 
All Classes All Packages

A

addElement(T[], int, T) - Static method in class org.openl.rules.util.Arrays
 
addElement(T[], int, T...) - Static method in class org.openl.rules.util.Arrays
Inserts the specified element at the specified position in the array.
allFalse(boolean[]) - Static method in class org.openl.rules.util.Booleans
 
allFalse(Boolean...) - Static method in class org.openl.rules.util.Booleans
 
allNo(boolean[]) - Static method in class org.openl.rules.util.Booleans
 
allNo(Boolean...) - Static method in class org.openl.rules.util.Booleans
 
allTrue(boolean[]) - Static method in class org.openl.rules.util.Booleans
 
allTrue(Boolean...) - Static method in class org.openl.rules.util.Booleans
 
allYes(boolean[]) - Static method in class org.openl.rules.util.Booleans
 
allYes(Boolean...) - Static method in class org.openl.rules.util.Booleans
 
anyFalse(boolean[]) - Static method in class org.openl.rules.util.Booleans
 
anyFalse(Boolean...) - Static method in class org.openl.rules.util.Booleans
 
anyNo(boolean[]) - Static method in class org.openl.rules.util.Booleans
 
anyNo(Boolean...) - Static method in class org.openl.rules.util.Booleans
 
anyTrue(boolean[]) - Static method in class org.openl.rules.util.Booleans
 
anyTrue(Boolean...) - Static method in class org.openl.rules.util.Booleans
 
anyYes(boolean[]) - Static method in class org.openl.rules.util.Booleans
 
anyYes(Boolean...) - Static method in class org.openl.rules.util.Booleans
 
Arrays - Class in org.openl.rules.util
A set of util methods to work with arrays.
avg(Float...) - Static method in class org.openl.rules.util.Avg
Returns the average of values.
avg(BigDecimal...) - Static method in class org.openl.rules.util.Avg
Returns the average of values.
avg(BigInteger...) - Static method in class org.openl.rules.util.Avg
Returns the average of values.
avg(T...) - Static method in class org.openl.rules.util.Avg
Returns the average of values.
Avg - Class in org.openl.rules.util
Avg functions for different types of numbers.

B

between(Calendar, Calendar) - Static method in class org.openl.rules.util.dates.DateInterval
Choose a suitable implementation for target date interval
between(Date, Date) - Static method in class org.openl.rules.util.dates.DateInterval
Choose a suitable implementation for target date interval
Booleans - Class in org.openl.rules.util
A set of util methods to work with booleans.

C

CEILING - Static variable in class org.openl.rules.util.Round
 
concatenate(Object...) - Static method in class org.openl.rules.util.Strings
 
contains(String, char) - Static method in class org.openl.rules.util.Strings
Checks if String contains a search character, handling null.
contains(String, String) - Static method in class org.openl.rules.util.Strings
Checks if String contains a search String, handling null.
containsAny(String, char...) - Static method in class org.openl.rules.util.Strings
Checks if the String contains any character in the given set of characters.
containsAny(String, String) - Static method in class org.openl.rules.util.Strings
Checks if the String contains any character in the given set of characters.

D

Date(int, int, int) - Static method in class org.openl.rules.util.Dates
Creates Date object using human numbers for the year and the month.
Date(int, int, int, int, int) - Static method in class org.openl.rules.util.Dates
Creates Date object with hours,and minutes.
Date(int, int, int, int, int, int) - Static method in class org.openl.rules.util.Dates
Creates Date object with hours, minutes and seconds.
Date(int, int, int, int, int, int, int) - Static method in class org.openl.rules.util.Dates
Creates Date object with hours, minutes, seconds and milliseconds.
dateDif(Date, Date, String) - Static method in class org.openl.rules.util.Dates
Calculate difference between two dates
DateInterval - Class in org.openl.rules.util.dates
Abstract class for calculation of difference between two dates in days, weeks, years
DateInterval.Scale - Enum in org.openl.rules.util.dates
 
DateInterval.Unit - Enum in org.openl.rules.util.dates
 
Dates - Class in org.openl.rules.util
A set of util methods to work with dates.
DAYS - org.openl.rules.util.dates.DateInterval.Unit
 
DAYS_EXCLUDE_MONTHS_AND_YEARS - org.openl.rules.util.dates.DateInterval.Unit
 
DAYS_EXCLUDE_YEARS - org.openl.rules.util.dates.DateInterval.Unit
 
DOWN - Static variable in class org.openl.rules.util.Round
 

E

endsWith(String, String) - Static method in class org.openl.rules.util.Strings
Check if a String ends with a specified suffix.

Two null references are considered to be equal.

F

FLOOR - Static variable in class org.openl.rules.util.Round
 
format(String, Object...) - Static method in class org.openl.rules.util.Strings
Format string with given pattern and the given arguments.

Examples:
FRAC - org.openl.rules.util.dates.DateInterval.Scale
 

G

getUnit(String) - Static method in enum org.openl.rules.util.dates.DateInterval.Unit
 

H

HALF_DOWN - Static variable in class org.openl.rules.util.Round
 
HALF_EVEN - Static variable in class org.openl.rules.util.Round
 
HALF_UP - Static variable in class org.openl.rules.util.Round
 

I

INT - org.openl.rules.util.dates.DateInterval.Scale
 
isEmpty(Object) - Static method in class org.openl.rules.util.Miscs
 
isEmpty(String) - Static method in class org.openl.rules.util.Strings
Checks if a String is empty ("") or null or blank (" ").

isEmpty(null) = true
isEmpty("") = true
isEmpty(" ") = true
isEmpty("bob") = false
isEmpty(" bob ") = false
isEmpty(T[]) - Static method in class org.openl.rules.util.Arrays
Checks if an array is empty or null.
isInfinite(Double) - Static method in class org.openl.rules.util.Miscs
 
isInfinite(Float) - Static method in class org.openl.rules.util.Miscs
 
isInfinite(Integer) - Static method in class org.openl.rules.util.Miscs
 
isInfinite(Long) - Static method in class org.openl.rules.util.Miscs
 
isLeap(Integer) - Static method in class org.openl.rules.util.Dates
Check if date is in the leap year
isLeap(Date) - Static method in class org.openl.rules.util.Dates
Check if date is in the leap year
isNaN(Double) - Static method in class org.openl.rules.util.Miscs
 
isNaN(Float) - Static method in class org.openl.rules.util.Miscs
 
isNotEmpty(Object) - Static method in class org.openl.rules.util.Miscs
 
isNotEmpty(String) - Static method in class org.openl.rules.util.Strings
Checks if a String is NOT empty ("") or null or blank (" ").

isEmpty(null) = false
isEmpty("") = false
isEmpty(" ") = false
isEmpty("bob") = true
isEmpty(" bob ") = true
isNotEmpty(T[]) - Static method in class org.openl.rules.util.Arrays
Checks if an array is NOT empty or null.

L

length(String) - Static method in class org.openl.rules.util.Strings
Returns the length of this string.
length(Collection<?>) - Static method in class org.openl.rules.util.Miscs
 
length(Map<?, ?>) - Static method in class org.openl.rules.util.Miscs
 
length(T[]) - Static method in class org.openl.rules.util.Arrays
 
like(String, String) - Static method in class org.openl.rules.util.Strings
Checks if the String is matched using given Pattern.

Syntax:

lowerCase(String) - Static method in class org.openl.rules.util.Strings
Converts a String to lower case

A null input String returns null.

M

max(T...) - Static method in class org.openl.rules.util.Statistics
Returns the greatest of values.
min(T...) - Static method in class org.openl.rules.util.Statistics
Returns the smallest of values.
Miscs - Class in org.openl.rules.util
 
MONTHS - org.openl.rules.util.dates.DateInterval.Unit
 
MONTHS_EXCLUDE_YEARS - org.openl.rules.util.dates.DateInterval.Unit
 
MONTHS_FRACTIONAL - org.openl.rules.util.dates.DateInterval.Unit
 
MONTHS_FRACTIONAL_EXCLUDE_YEARS - org.openl.rules.util.dates.DateInterval.Unit
 

N

NEGATIVE_INFINITY_SIGN - Static variable in class org.openl.rules.util.Numbers
 
noNulls(T...) - Static method in class org.openl.rules.util.Arrays
Returns true if the input elements exist, and they do not contain null elements.
Numbers - Class in org.openl.rules.util
A set of functions to work with numbers

O

org.openl.rules.util - package org.openl.rules.util
 
org.openl.rules.util.dates - package org.openl.rules.util.dates
 

P

POSITIVE_INFINITY_SIGN - Static variable in class org.openl.rules.util.Numbers
 
product(Double...) - Static method in class org.openl.rules.util.Product
Returns the product of values.
product(Long...) - Static method in class org.openl.rules.util.Product
Returns the product of values.
product(BigDecimal...) - Static method in class org.openl.rules.util.Product
Returns the product of values.
product(BigInteger...) - Static method in class org.openl.rules.util.Product
Returns the product of values.
product(T...) - Static method in class org.openl.rules.util.Product
Returns the product of values.
Product - Class in org.openl.rules.util
Product functions for different types of numbers.

R

removeElement(T[], E...) - Static method in class org.openl.rules.util.Arrays
Removes the first occurrence of the specified element from the specified array.
removeEnd(String, String) - Static method in class org.openl.rules.util.Strings
Removes a substring only if it is at the end of a source string, otherwise returns the source string.
removeNulls(T...) - Static method in class org.openl.rules.util.Arrays
Return a new array without null elements
removeStart(String, String) - Static method in class org.openl.rules.util.Strings
Removes a substring only if it is at the begining of a source string, otherwise returns the source string.
replace(String, String, String) - Static method in class org.openl.rules.util.Strings
Replaces all occurrences of a String within another String

replace(String, String, String, int) - Static method in class org.openl.rules.util.Strings
Replaces a String with another String inside a larger String, for the first max values of the search String.

A null reference passed to this method is a no-op.
round(double) - Static method in class org.openl.rules.util.Round
Returns the closest long to the argument, with ties rounding up.
round(double, int) - Static method in class org.openl.rules.util.Round
Round the given value to the specified number of decimal places.
round(double, int, RoundingMode) - Static method in class org.openl.rules.util.Round
Round the given value to the specified number of decimal places.
round(double, RoundingMode) - Static method in class org.openl.rules.util.Round
 
round(float) - Static method in class org.openl.rules.util.Round
Returns the closest int to the argument, with ties rounding up.
round(float, int) - Static method in class org.openl.rules.util.Round
Round the given value to the specified number of decimal places.
round(float, int, RoundingMode) - Static method in class org.openl.rules.util.Round
Round the given value to the specified number of decimal places.
round(float, RoundingMode) - Static method in class org.openl.rules.util.Round
 
round(Double) - Static method in class org.openl.rules.util.Round
Like Round.round(double) but null-safe.
round(Double, int) - Static method in class org.openl.rules.util.Round
Like Round.round(double, int) but null-safe.
round(Double, int, int) - Static method in class org.openl.rules.util.Round
For backward compatibility
round(Double, int, RoundingMode) - Static method in class org.openl.rules.util.Round
round(Double, RoundingMode) - Static method in class org.openl.rules.util.Round
 
round(Float) - Static method in class org.openl.rules.util.Round
Like Round.round(float) but null-safe.
round(Float, int) - Static method in class org.openl.rules.util.Round
Like Round.round(float, int) but null-safe.
round(Float, int, int) - Static method in class org.openl.rules.util.Round
For backward compatibility
round(Float, int, RoundingMode) - Static method in class org.openl.rules.util.Round
round(Float, RoundingMode) - Static method in class org.openl.rules.util.Round
 
round(BigDecimal) - Static method in class org.openl.rules.util.Round
Returns the closest integer to the argument, with ties rounding up.
round(BigDecimal, int) - Static method in class org.openl.rules.util.Round
Round the given value to the specified number of decimal places.
round(BigDecimal, int, int) - Static method in class org.openl.rules.util.Round
For backward compatibility
round(BigDecimal, int, RoundingMode) - Static method in class org.openl.rules.util.Round
Round the given value to the specified number of decimal places.
round(BigDecimal, RoundingMode) - Static method in class org.openl.rules.util.Round
 
Round - Class in org.openl.rules.util
A set of rounding util methods.
roundStrict(Double) - Static method in class org.openl.rules.util.Round
Like round(double) but without a ulp amendment
roundStrict(Double, int) - Static method in class org.openl.rules.util.Round
Like round(double) but without a ulp amendment

S

setDate(Date, int, int, int) - Static method in class org.openl.rules.util.Dates
Set date in yyyy-mm-dd without changing the time
setTime(Date, int, int) - Static method in class org.openl.rules.util.Dates
Set time in hh:mm:00.000 without changing the date
setTime(Date, int, int, int) - Static method in class org.openl.rules.util.Dates
Set time in hh:mm:ss.000 without changing the date
setTime(Date, int, int, int, int) - Static method in class org.openl.rules.util.Dates
Set time in hh:mm:ss.xxx without changing the date
slice(T[], int) - Static method in class org.openl.rules.util.Arrays
 
slice(T[], int, int) - Static method in class org.openl.rules.util.Arrays
 
sort(T...) - Static method in class org.openl.rules.util.Arrays
Returns a copy of the specified array into ascending order, according to the natural ordering of its elements.
startsWith(String, String) - Static method in class org.openl.rules.util.Strings
Check if a String starts with a specified prefix.

Two null references are considered to be equal.
Statistics - Class in org.openl.rules.util
A set of function for statistical analyze.
Strings - Class in org.openl.rules.util
A set of util methods to work with strings.
substr(String, int, int) - Static method in class org.openl.rules.util.Strings
 
substring(String, int) - Static method in class org.openl.rules.util.Strings
Gets a substring from the specified String

A negative start position can be used to start n characters from the end of the String.

A null String will return null.
substring(String, int, int) - Static method in class org.openl.rules.util.Strings
Gets a substring from the specified String

A negative start position can be used to start/end n characters from the end of the String.
sum(Byte...) - Static method in class org.openl.rules.util.Sum
Returns the sum of values.
sum(Double...) - Static method in class org.openl.rules.util.Sum
Returns the sum of values.
sum(Float...) - Static method in class org.openl.rules.util.Sum
Returns the sum of values.
sum(Integer...) - Static method in class org.openl.rules.util.Sum
Returns the sum of values.
sum(Long...) - Static method in class org.openl.rules.util.Sum
Returns the sum of values.
sum(Short...) - Static method in class org.openl.rules.util.Sum
Returns the sum of values.
sum(BigDecimal...) - Static method in class org.openl.rules.util.Sum
Returns the sum of values.
sum(BigInteger...) - Static method in class org.openl.rules.util.Sum
Returns the sum of values.
sum(T...) - Static method in class org.openl.rules.util.Sum
Returns the sum of values.
Sum - Class in org.openl.rules.util
Sum functions for different types of numbers.

T

textJoin(String, Object...) - Static method in class org.openl.rules.util.Strings
Joins an array of objects by the given delimiter to the single string.
textSplit(String, String) - Static method in class org.openl.rules.util.Strings
Splits string by given delimiter.

Examples:

textSplit(null, null) = null
textSplit(",", null) = null
textSplit(null, "a,b,c") = ["a,b,c"]
textSplit(",", "a,b,c") = ["a", "b", "c"]
textSplit(",", ",,a,,b,,c,,") = ["a", "b", "c"]
toBoolean(byte) - Static method in class org.openl.rules.util.Booleans
 
toBoolean(char) - Static method in class org.openl.rules.util.Booleans
 
toBoolean(int) - Static method in class org.openl.rules.util.Booleans
 
toBoolean(long) - Static method in class org.openl.rules.util.Booleans
 
toBoolean(short) - Static method in class org.openl.rules.util.Booleans
 
toBoolean(Byte) - Static method in class org.openl.rules.util.Booleans
Converts a byte number to a Boolean.
toBoolean(Character) - Static method in class org.openl.rules.util.Booleans
Converts a Character to a Boolean.
toBoolean(Integer) - Static method in class org.openl.rules.util.Booleans
Converts a int number to a Boolean.
toBoolean(Long) - Static method in class org.openl.rules.util.Booleans
Converts a long number to a Boolean.
toBoolean(Short) - Static method in class org.openl.rules.util.Booleans
Converts a short number to a Boolean.
toBoolean(String) - Static method in class org.openl.rules.util.Booleans
Converts a String to a Boolean.
toBoolean(BigInteger) - Static method in class org.openl.rules.util.Booleans
Converts a BigInteger to a Boolean.
toDate(String) - Static method in class org.openl.rules.util.Dates
Converts a string to a date using a default pattern.
toDate(String, String) - Static method in class org.openl.rules.util.Dates
Converts a string to a date using a pattern.
toDays() - Method in class org.openl.rules.util.dates.DateInterval
Calculate a difference in full days.
toDaysExcludeYears() - Method in class org.openl.rules.util.dates.DateInterval
Calculate a difference in full days regarding last year.
toDaysExcludeYearsAndMonths() - Method in class org.openl.rules.util.dates.DateInterval
Calculate a difference in full days regarding last month.
toDouble(String) - Static method in class org.openl.rules.util.Strings
 
toInteger(String) - Static method in class org.openl.rules.util.Strings
 
toLocale(String) - Static method in class org.openl.rules.util.Strings
Convert string locale to Locale
toMonths(DateInterval.Scale) - Method in class org.openl.rules.util.dates.DateInterval
Calculate a difference in months.
toMonthsExcludeYears(DateInterval.Scale) - Method in class org.openl.rules.util.dates.DateInterval
Calculate a difference in months regarding last year.
toNumber(String) - Static method in class org.openl.rules.util.Strings
 
toString(Number) - Static method in class org.openl.rules.util.Numbers
Default toString method for numbers.
toString(Number, String) - Static method in class org.openl.rules.util.Numbers
Formatting method for numbers.
toString(Object) - Static method in class org.openl.rules.util.Strings
 
toString(Date) - Static method in class org.openl.rules.util.Dates
Converts a date to a string using a default pattern.
toString(Date, String) - Static method in class org.openl.rules.util.Dates
Converts a date to a string using a pattern.
toWeeks(DateInterval.Scale) - Method in class org.openl.rules.util.dates.DateInterval
Calculate a difference in weeks.
toYears(DateInterval.Scale) - Method in class org.openl.rules.util.dates.DateInterval
Calculate a difference in years.
trim(String) - Static method in class org.openl.rules.util.Strings
Returns a string whose value is this string, with any leading and trailing whitespace removed.

U

UNNECESSARY - Static variable in class org.openl.rules.util.Round
 
UP - Static variable in class org.openl.rules.util.Round
 
upperCase(String) - Static method in class org.openl.rules.util.Strings
Converts a String to upper case

A null input String returns null.

V

valueOf(String) - Static method in enum org.openl.rules.util.dates.DateInterval.Scale
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.openl.rules.util.dates.DateInterval.Unit
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.openl.rules.util.dates.DateInterval.Scale
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.openl.rules.util.dates.DateInterval.Unit
Returns an array containing the constants of this enum type, in the order they are declared.

W

WEEKS - org.openl.rules.util.dates.DateInterval.Unit
 
WEEKS_FRACTIONAL - org.openl.rules.util.dates.DateInterval.Unit
 

Y

YEARS - org.openl.rules.util.dates.DateInterval.Unit
 
YEARS_FRACTIONAL - org.openl.rules.util.dates.DateInterval.Unit
 
A B C D E F G H I L M N O P R S T U V W Y 
All Classes All Packages