Index
All Classes and Interfaces|All Packages
A
- apply(T, U, V) - Method in interface dev.greenadine.checks.TriFunction
-
Applies this function to the given arguments.
C
- check(boolean) - Static method in class dev.greenadine.checks.Checks
-
Ensures the truth of an expression, and throws an
IllegalArgumentException
if the check fails. - check(boolean, TriFunction<U, V, R, T>, U, V, R) - Static method in class dev.greenadine.checks.Checks
-
Ensures the truth of an expression, and throws an exception if the check fails.
- check(boolean, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures the truth of an expression, and throws an
IllegalArgumentException
with the specified exception message and replacements if the check fails. - check(boolean, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures the truth of an expression, and throws an
IllegalArgumentException
with the specified exception message if the check fails. - check(boolean, BiFunction<String, Object[], T>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures the truth of an expression, and throws an exception if the check fails.
- check(boolean, BiFunction<U, V, T>, U, V) - Static method in class dev.greenadine.checks.Checks
-
Ensures the truth of an expression, and throws an exception if the check fails.
- check(boolean, Function<String, T>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures the truth of an expression, and throws an exception if the check fails.
- check(boolean, Function<U, T>, U) - Static method in class dev.greenadine.checks.Checks
-
Ensures the truth of an expression, and throws an exception if the check fails.
- check(boolean, Supplier<T>) - Static method in class dev.greenadine.checks.Checks
-
Ensures the truth of an expression, and throws an exception if the check fails.
- Checks - Class in dev.greenadine.checks
-
A utility class that provides a set of static methods for performing various checks and validations throughout a Java application.
- checkState(boolean) - Static method in class dev.greenadine.checks.Checks
-
Ensures the truth of an expression, and throws an
IllegalStateException
if the check fails. - checkState(boolean, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures the truth of an expression, and throws an
IllegalStateException
with the specified exception message and replacements if the check fails. - checkState(boolean, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures the truth of an expression, and throws an
IllegalStateException
with the specified exception message if the check fails.
D
- dev.greenadine.checks - package dev.greenadine.checks
E
- equals(Object, Object) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is equal to the expected object, and throws an
IllegalArgumentException
if it is not. - equals(Object, Object, TriFunction<U, V, R, T>, U, V, R) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is equal to the expected object, and throws an exception if it is not.
- equals(Object, Object, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is equal to the expected object, and throws an
IllegalArgumentException
with the specified exception message and replacements if it is not. - equals(Object, Object, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is equal to the expected object, and throws an
IllegalArgumentException
with the specified exception message if it is not. - equals(Object, Object, BiFunction<String, Object[], T>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is equal to the expected object, and throws an exception if it is not.
- equals(Object, Object, BiFunction<U, V, T>, U, V) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is equal to the expected object, and throws an exception if it is not.
- equals(Object, Object, Function<String, T>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is equal to the expected object, and throws an exception if it is not.
- equals(Object, Object, Function<U, T>, U) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is equal to the expected object, and throws an exception if it is not.
- equals(Object, Object, Supplier<T>) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is equal to the expected object, and throws an exception if it is not.
I
- instanceOf(Object, Class<T>) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is an instance of the specified type, and throws an
IllegalArgumentException
if it is not. - instanceOf(Object, Class<T>, TriFunction<V, R, E, U>, V, R, E) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is an instance of the specified type, and throws an exception if it is not.
- instanceOf(Object, Class<T>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is an instance of the specified type, and throws an
IllegalArgumentException
with the specified error message if it is not. - instanceOf(Object, Class<T>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is an instance of the specified type, and throws an
IllegalArgumentException
with the specified error message and replacements if it is not. - instanceOf(Object, Class<T>, BiFunction<String, Object[], U>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is an instance of the specified type, and throws an exception if it is not.
- instanceOf(Object, Class<T>, BiFunction<V, R, U>, V, R) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is an instance of the specified type, and throws an exception if it is not.
- instanceOf(Object, Class<T>, Function<String, U>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is an instance of the specified type, and throws an exception if it is not.
- instanceOf(Object, Class<T>, Function<V, U>, V) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is an instance of the specified type, and throws an exception if it is not.
- instanceOf(Object, Class<T>, Supplier<U>) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given object is an instance of the specified type, and throws an exception if it is not.
- isBetween(Number, Number, Number) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is between the specified minimum and maximum values.
- isBetween(Number, Number, Number, TriFunction<U, V, R, T>, U, V, R) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is between the specified minimum and maximum values.
- isBetween(Number, Number, Number, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is between the specified minimum and maximum values.
- isBetween(Number, Number, Number, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is between the specified minimum and maximum values.
- isBetween(Number, Number, Number, BiFunction<String, Object[], T>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is between the specified minimum and maximum values.
- isBetween(Number, Number, Number, BiFunction<U, V, T>, U, V) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is between the specified minimum and maximum values.
- isBetween(Number, Number, Number, Function<String, T>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is between the specified minimum and maximum values.
- isBetween(Number, Number, Number, Function<U, T>, U) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is between the specified minimum and maximum values.
- isBetween(Number, Number, Number, Supplier<T>) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is between the specified minimum and maximum values.
- isBlank(String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is blank.
- isBlank(String, TriFunction<U, V, R, T>, U, V, R) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is blank.
- isBlank(String, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is blank.
- isBlank(String, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is blank.
- isBlank(String, BiFunction<String, Object[], T>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is blank.
- isBlank(String, BiFunction<U, V, T>, U, V) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is blank.
- isBlank(String, Function<String, T>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is blank.
- isBlank(String, Function<U, T>, U) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is blank.
- isBlank(String, Supplier<T>) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is blank.
- isEmpty(Object) - Static method in class dev.greenadine.checks.Checks
-
Ensures the given object is empty.
- isEmpty(Object, TriFunction<U, V, R, T>, U, V, R) - Static method in class dev.greenadine.checks.Checks
-
Ensures the given object is empty.
- isEmpty(Object, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures the given object is empty.
- isEmpty(Object, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures the given object is empty.
- isEmpty(Object, BiFunction<String, Object[], T>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures the given object is empty.
- isEmpty(Object, BiFunction<U, V, T>, U, V) - Static method in class dev.greenadine.checks.Checks
-
Ensures the given object is empty.
- isEmpty(Object, Function<String, T>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures the given object is empty.
- isEmpty(Object, Function<U, T>, U) - Static method in class dev.greenadine.checks.Checks
-
Ensures the given object is empty.
- isEmpty(Object, Supplier<T>) - Static method in class dev.greenadine.checks.Checks
-
Ensures the given object is empty.
- isNegative(Number) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is negative.
- isNegative(Number, TriFunction<U, V, R, T>, U, V, R) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is negative.
- isNegative(Number, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is negative.
- isNegative(Number, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is negative.
- isNegative(Number, BiFunction<String, Object[], T>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is negative.
- isNegative(Number, BiFunction<U, V, T>, U, V) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is negative.
- isNegative(Number, Function<String, T>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is negative.
- isNegative(Number, Function<U, T>, U) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is negative.
- isNegative(Number, Supplier<T>) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is negative.
- isNotBlank(String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is not blank.
- isNotBlank(String, TriFunction<U, V, R, T>, U, V, R) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is not blank.
- isNotBlank(String, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is not blank.
- isNotBlank(String, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is not blank.
- isNotBlank(String, BiFunction<String, Object[], T>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is not blank.
- isNotBlank(String, BiFunction<U, V, T>, U, V) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is not blank.
- isNotBlank(String, Function<String, T>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is not blank.
- isNotBlank(String, Function<U, T>, U) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is not blank.
- isNotBlank(String, Supplier<T>) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given string is not blank.
- isNotEmpty(Object) - Static method in class dev.greenadine.checks.Checks
-
Ensures the given object is not empty.
- isNotEmpty(Object, TriFunction<U, V, R, T>, U, V, R) - Static method in class dev.greenadine.checks.Checks
-
Ensures that a string reference passed as a parameter to the calling method is not empty, and throws an exception if it is.
- isNotEmpty(Object, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that a string reference passed as a parameter to the calling method is not empty, and throws an
IllegalArgumentException
with the specified exception message and replacements if it is. - isNotEmpty(Object, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures the given object is not empty.
- isNotEmpty(Object, BiFunction<String, Object[], T>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that a string reference passed as a parameter to the calling method is not empty, and throws an exception if it is.
- isNotEmpty(Object, BiFunction<U, V, T>, U, V) - Static method in class dev.greenadine.checks.Checks
-
Ensures that a string reference passed as a parameter to the calling method is not empty, and throws an exception if it is.
- isNotEmpty(Object, Function<String, T>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that a string reference passed as a parameter to the calling method is not empty, and throws an exception if it is.
- isNotEmpty(Object, Function<U, T>, U) - Static method in class dev.greenadine.checks.Checks
-
Ensures that a string reference passed as a parameter to the calling method is not empty, and throws an exception if it is.
- isNotEmpty(Object, Supplier<T>) - Static method in class dev.greenadine.checks.Checks
-
Ensures that a string reference passed as a parameter to the calling method is not empty, and throws an exception if it is.
- isNotNull(Object) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is not
null
, and throws aNullPointerException
if it is. - isNotNull(Object, TriFunction<U, V, R, T>, U, V, R) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is not null, and throws an exception if it is.
- isNotNull(Object, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is not null, and throws a
NullPointerException
with the specified exception message and replacements if it is. - isNotNull(Object, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is not null, and throws a
NullPointerException
with the specified exception message if it is. - isNotNull(Object, BiFunction<String, Object[], T>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is not
null
, and throws an exception if it is. - isNotNull(Object, BiFunction<U, V, T>, U, V) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is not
null
, and throws an exception if it is. - isNotNull(Object, Function<String, T>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is not
null
, and throws an exception if it is. - isNotNull(Object, Function<U, T>, U) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is not
null
, and throws an exception if it is. - isNotNull(Object, Supplier<T>) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is not null, and throws an exception if it is.
- isNull(Object) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is
null
, and throws anIllegalArgumentException
if it is not. - isNull(Object, TriFunction<U, V, R, T>, U, V, R) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is
null
, and throws an exception if it is. - isNull(Object, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is
null
, and throws anIllegalArgumentException
with the specified exception message and replacements if it is not. - isNull(Object, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is
null
, and throws anIllegalArgumentException
with the specified exception message if it is not. - isNull(Object, BiFunction<String, Object[], T>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is
null
, and throws an exception if it is. - isNull(Object, BiFunction<U, V, T>, U, V) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is
null
, and throws an exception if it is. - isNull(Object, Function<String, T>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is
null
, and throws an exception if it is. - isNull(Object, Function<U, T>, U) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is
null
, and throws an exception if it is. - isNull(Object, Supplier<T>) - Static method in class dev.greenadine.checks.Checks
-
Ensures that an object reference passed as a parameter to the calling method is
null
, and throws an exception if it is. - isPositive(Number) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is positive.
- isPositive(Number, TriFunction<U, V, R, T>, U, V, R) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is positive.
- isPositive(Number, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is positive.
- isPositive(Number, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is positive.
- isPositive(Number, BiFunction<String, Object[], T>, String, Object...) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is positive.
- isPositive(Number, BiFunction<U, V, T>, U, V) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is positive.
- isPositive(Number, Function<String, T>, String) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is positive.
- isPositive(Number, Function<U, T>, U) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is positive.
- isPositive(Number, Supplier<T>) - Static method in class dev.greenadine.checks.Checks
-
Ensures that the given number is positive.
T
- TriFunction<T,
U, - Interface in dev.greenadine.checksV, R> -
A functional interface that accepts three arguments and produces a result.
All Classes and Interfaces|All Packages