static void |
Assert.doesNotContain(java.lang.String textToSearch,
java.lang.String substring,
java.lang.String message) |
Assert that the given text does not contain the given substring.
|
static void |
Assert.doesNotContain(java.lang.String textToSearch,
java.lang.String substring,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Assert that the given text does not contain the given substring.
|
static void |
Assert.hasLength(java.lang.String text,
java.lang.String message) |
Assert that the given String is not empty; that is,
it must not be null and not the empty String.
|
static void |
Assert.hasLength(java.lang.String text,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Assert that the given String is not empty; that is,
it must not be null and not the empty String.
|
static void |
Assert.hasText(java.lang.String text,
java.lang.String message) |
Assert that the given String contains valid text content; that is, it must not
be null and must contain at least one non-whitespace character.
|
static void |
Assert.hasText(java.lang.String text,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Assert that the given String contains valid text content; that is, it must not
be null and must contain at least one non-whitespace character.
|
static void |
Assert.isAssignable(java.lang.Class<?> superType,
java.lang.Class<?> subType,
java.lang.String message) |
Assert that superType.isAssignableFrom(subType) is true.
|
static void |
Assert.isAssignable(java.lang.Class<?> superType,
java.lang.Class<?> subType,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Assert that superType.isAssignableFrom(subType) is true.
|
static void |
Assert.isInstanceOf(java.lang.Class<?> type,
java.lang.Object obj) |
Assert that the provided object is an instance of the provided class.
|
static void |
Assert.isInstanceOf(java.lang.Class<?> type,
java.lang.Object obj,
java.lang.String message) |
Assert that the provided object is an instance of the provided class.
|
static void |
Assert.isInstanceOf(java.lang.Class<?> type,
java.lang.Object obj,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Assert that the provided object is an instance of the provided class.
|
static void |
Assert.isNull(java.lang.Object object,
java.lang.String message) |
Assert that an object is null.
|
static void |
Assert.isNull(java.lang.Object object,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Assert that an object is null.
|
static void |
Assert.noNullElements(java.lang.Object[] array,
java.lang.String message) |
Assert that an array contains no null elements.
|
static void |
Assert.noNullElements(java.lang.Object[] array,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Assert that an array contains no null elements.
|
static void |
Assert.notEmpty(java.lang.Object[] array,
java.lang.String message) |
Assert that an array contains elements; that is, it must not be
null and must contain at least one element.
|
static void |
Assert.notEmpty(java.lang.Object[] array,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Assert that an array contains elements; that is, it must not be
null and must contain at least one element.
|
static void |
Assert.notEmpty(java.util.Collection<?> collection,
java.lang.String message) |
Assert that a collection contains elements; that is, it must not be
null and must contain at least one element.
|
static void |
Assert.notEmpty(java.util.Collection<?> collection,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Assert that a collection contains elements; that is, it must not be
null and must contain at least one element.
|
static void |
Assert.notEmpty(java.util.Map<?,?> map,
java.lang.String message) |
Assert that a Map contains entries; that is, it must not be null
and must contain at least one entry.
|
static void |
Assert.notEmpty(java.util.Map<?,?> map,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Assert that a Map contains entries; that is, it must not be null
and must contain at least one entry.
|
static void |
Assert.notNull(java.lang.Object object,
java.lang.String message) |
Assert that an object is not null.
|
static void |
Assert.notNull(java.lang.Object object,
java.util.function.Supplier<java.lang.String> messageSupplier) |
Assert that an object is not null.
|