- paramNotNull
Validate that the specified field/param is not null; otherwise throwing an
exception with a precanne
- isTrue
Validate that the argument condition is true; otherwise throwing an exception
with the specified mes
- notNull
Validate that the specified argument is not null; otherwise throwing an
exception with the specified
- validState
Validate that the stateful condition is true; otherwise throwing an exception
with the specified mes
- notEmpty
Validate that the specified argument array is neither nullnor a length of zero
(no elements); otherw
- isInstanceOf
Validate that the argument is an instance of the specified class; otherwise
throwing an exception wi
- isPositive
Asserts that the given duration is positive (non-negative and non-zero).
- paramNotBlank
Validate that the specified char sequence is neither null, a length of zero (no
characters), empty n
- getOrDefault
Returns the param if non null, otherwise gets a default value from the provided
Supplier.
- isAssignableFrom
Validates that the argument can be converted to the specified class, if not
throws an exception.This
- isPositiveOrNull
Asserts that the given duration is positive (non-negative and non-zero) or null.
- mutuallyExclusive
Verify that only one of the objects is non null. If all objects are null this
method does not throw.