Package org.apache.bval.util
Class Validate
- java.lang.Object
-
- org.apache.bval.util.Validate
-
public final class Validate extends Object
Some used validations from commons.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
isTrue(boolean expression, String message, Object... values)
static <T> T[]
noNullElements(T[] array, String message, Object... values)
static <T> T
notNull(T object)
static <T> T
notNull(T object, String message, Object... values)
static <E extends Exception,T>
TnotNull(T object, Function<? super String,? extends E> fn, String message, Object... values)
static void
validState(boolean expression, String message, Object... values)
-