public final class Assert
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <PARAM_TYPE> |
getParamNotNull(PARAM_TYPE param,
java.lang.String name) |
static void |
paramAndElementsNotEmpty(java.lang.Object[] array,
java.lang.String name) |
static void |
paramGreater(double param1,
double param2,
java.lang.String name1,
java.lang.String name2) |
static void |
paramHasType(java.lang.Object object,
java.lang.Class<?> type,
java.lang.String name) |
static void |
paramInBounds(double leftBoundary,
double rightBoundary,
double value,
java.lang.String name) |
static void |
paramInBounds(int leftBoundary,
int rightBoundary,
int value,
java.lang.String name) |
static void |
paramInBounds(int rightBoundary,
int value,
java.lang.String name) |
static void |
paramInBounds(long leftBoundary,
long rightBoundary,
long value,
java.lang.String name) |
static void |
paramInBounds(long rightBoundary,
long value,
java.lang.String name) |
static void |
paramLess(double param1,
double param2,
java.lang.String name1,
java.lang.String name2) |
static void |
paramLessOrEqual(double param1,
double param2,
java.lang.String name1,
java.lang.String name2) |
static void |
paramLessOrEqual(int param1,
int param2,
java.lang.String name1,
java.lang.String name2) |
static void |
paramNotEmpty(java.util.Collection<?> collection,
java.lang.String name) |
static void |
paramNotEmpty(java.lang.Iterable<?> iterable,
java.lang.String name) |
static void |
paramNotEmpty(java.util.Map<?,?> map,
java.lang.String name) |
static void |
paramNotEmpty(java.lang.Object[] array,
java.lang.String name) |
static void |
paramNotEmpty(java.lang.String string,
java.lang.String name) |
static void |
paramNotNegative(int param,
java.lang.String name) |
static void |
paramNotNull(java.lang.Object object,
java.lang.String name) |
public static <PARAM_TYPE> PARAM_TYPE getParamNotNull(PARAM_TYPE param, java.lang.String name)
public static void paramNotNull(java.lang.Object object, java.lang.String name)
public static void paramNotEmpty(java.lang.String string, java.lang.String name)
public static void paramNotEmpty(java.util.Collection<?> collection, java.lang.String name)
public static void paramNotEmpty(java.util.Map<?,?> map, java.lang.String name)
public static void paramNotEmpty(java.lang.Iterable<?> iterable, java.lang.String name)
public static void paramNotEmpty(java.lang.Object[] array, java.lang.String name)
public static void paramAndElementsNotEmpty(java.lang.Object[] array, java.lang.String name)
public static void paramHasType(java.lang.Object object, java.lang.Class<?> type, java.lang.String name)
public static void paramInBounds(long rightBoundary, long value, java.lang.String name)
public static void paramInBounds(int rightBoundary, int value, java.lang.String name)
public static void paramInBounds(long leftBoundary, long rightBoundary, long value, java.lang.String name)
public static void paramInBounds(int leftBoundary, int rightBoundary, int value, java.lang.String name)
public static void paramInBounds(double leftBoundary, double rightBoundary, double value, java.lang.String name)
public static void paramNotNegative(int param, java.lang.String name)
public static void paramLessOrEqual(int param1, int param2, java.lang.String name1, java.lang.String name2)
public static void paramLessOrEqual(double param1, double param2, java.lang.String name1, java.lang.String name2)
public static void paramLess(double param1, double param2, java.lang.String name1, java.lang.String name2)
public static void paramGreater(double param1, double param2, java.lang.String name1, java.lang.String name2)
Siehe auch Jowidgets Nutzerhandbuch