| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static long | Returns: the valuethe minimum, inclusive minimum, long the maximum, inclusive maximum, long the value to check value, String the exception message reason, Object... values to be put in placeholders in reason (e.g. "%s"). values)Throw |
| public static <T> T | Returns: the objectthe class the object has to be clazz, T the object o, String the exception message reason, Object... values to be put in placeholders in reason (e.g. "%s"). values)Throw |
| public static void | isTrue(boolean
the condition condition, String exception message reason, Object... values to be put in placeholders in reason (e.g. "%s"). values)Throw |
| public static < array element type T> T[] | Returns: the arrayarray to check array, String exception message reason, Object... values to be put in placeholders in reason (e.g. "%s"). values)Throw |
| public static String | Returns: the stringstring s, String exception message reason, Object... values to be put in placeholders in reason (e.g. "%s"). values)Throw @ |
| public static < array element type T> T[] | Returns: the arrayarray to check array, String exception message reason, Object... values to be put in placeholders in reason (e.g. "%s"). values)Throw |
| public static <T> T | Returns: the objectobject that has to be non-null o, String exception message reason, Object... values to be put in placeholders in reason (e.g. "%s"). values)Throw |
| public static Validate | |
| public static Validate[] |
| Validate | back to summary |
|---|---|
| private Validate() | |
| inclusiveBetween | back to summary |
|---|---|
| public static long inclusiveBetween(long minimum, long maximum, long value, String reason, Object... values) Throw
| |
| isInstanceOf | back to summary |
|---|---|
| public static <T> T isInstanceOf(Class<?> clazz, T o, String reason, Object... values) Throw
| |
| isTrue | back to summary |
|---|---|
| public static void isTrue(boolean condition, String reason, Object... values) Throw
| |
| noNullElements | back to summary |
|---|---|
| public static <T> T[] noNullElements(T[] array, String reason, Object... values) Throw
| |
| notBlank | back to summary |
|---|---|
| public static String notBlank(String s, String reason, Object... values) Throw @
| |
| notEmpty | back to summary |
|---|---|
| public static <T> T[] notEmpty(T[] array, String reason, Object... values) Throw
| |
| notNull | back to summary |
|---|---|
| public static <T> T notNull(T o, String reason, Object... values) Throw
| |
| valueOf | back to summary |
|---|---|
| public static Validate valueOf(String name) | |
| values | back to summary |
|---|---|
| public static Validate[] values() | |