public final class Validate extends Object
| Constructor and Description |
|---|
Validate() |
| Modifier and Type | Method and Description |
|---|---|
static void |
exclusiveBetween(double start,
double end,
double value) |
static void |
exclusiveBetween(double start,
double end,
double value,
String message,
Object... values) |
static void |
exclusiveBetween(long start,
long end,
long value) |
static void |
exclusiveBetween(long start,
long end,
long value,
String message,
Object... values) |
static <T> void |
exclusiveBetween(T start,
T end,
Comparable<T> value) |
static <T> void |
exclusiveBetween(T start,
T end,
Comparable<T> value,
String message,
Object... values) |
static void |
inclusiveBetween(double start,
double end,
double value) |
static void |
inclusiveBetween(double start,
double end,
double value,
String message,
Object... values) |
static void |
inclusiveBetween(long start,
long end,
long value) |
static void |
inclusiveBetween(long start,
long end,
long value,
String message,
Object... values) |
static <T> void |
inclusiveBetween(T start,
T end,
Comparable<T> value) |
static <T> void |
inclusiveBetween(T start,
T end,
Comparable<T> value,
String message,
Object... values) |
static void |
isAssignableFrom(Class<?> superType,
Class<?> type) |
static void |
isAssignableFrom(Class<?> superType,
Class<?> type,
String message,
Object... values) |
static void |
isFalse(boolean expression) |
static void |
isFalse(boolean expression,
String message,
Object... values) |
static void |
isInstanceOf(Class<?> type,
Object obj) |
static void |
isInstanceOf(Class<?> type,
Object obj,
String message,
Object... values) |
static void |
isTrue(boolean expression) |
static void |
isTrue(boolean expression,
String message,
Object... values) |
static void |
notBlank(CharSequence str) |
static void |
notBlank(CharSequence str,
String message,
Object... values) |
static void |
notEmpty(CharSequence str) |
static void |
notEmpty(CharSequence str,
String message,
Object... values) |
static void |
notEmpty(Collection<?> collection) |
static void |
notEmpty(Collection<?> collection,
String message,
Object... values) |
static void |
notEmpty(Map<?,?> map) |
static void |
notEmpty(Map<?,?> map,
String message,
Object... values) |
static void |
notEmpty(Object[] array) |
static void |
notEmpty(Object[] array,
String message,
Object... values) |
static void |
notNull(Object object) |
static void |
notNull(Object object,
String message,
Object... values) |
public static void isTrue(boolean expression)
public static void isFalse(boolean expression)
public static void notNull(Object object)
public static void notEmpty(Object[] array)
public static void notEmpty(Collection<?> collection)
public static void notEmpty(Collection<?> collection, String message, Object... values)
public static void notEmpty(Map<?,?> map)
public static void notEmpty(CharSequence str)
public static void notEmpty(CharSequence str, String message, Object... values)
public static void notBlank(CharSequence str)
public static void notBlank(CharSequence str, String message, Object... values)
public static <T> void inclusiveBetween(T start,
T end,
Comparable<T> value)
public static <T> void inclusiveBetween(T start,
T end,
Comparable<T> value,
String message,
Object... values)
public static void inclusiveBetween(long start,
long end,
long value)
public static void inclusiveBetween(long start,
long end,
long value,
String message,
Object... values)
public static void inclusiveBetween(double start,
double end,
double value)
public static void inclusiveBetween(double start,
double end,
double value,
String message,
Object... values)
public static <T> void exclusiveBetween(T start,
T end,
Comparable<T> value)
public static <T> void exclusiveBetween(T start,
T end,
Comparable<T> value,
String message,
Object... values)
public static void exclusiveBetween(long start,
long end,
long value)
public static void exclusiveBetween(long start,
long end,
long value,
String message,
Object... values)
public static void exclusiveBetween(double start,
double end,
double value)
public static void exclusiveBetween(double start,
double end,
double value,
String message,
Object... values)
public static void isInstanceOf(Class<?> type, Object obj, String message, Object... values)
Copyright © 2016 jetbrick. All rights reserved.