static Assert |
Assert.getInstance() |
Gets the unique instance.
|
Assert |
Assert.greaterOrEqual(java.lang.Integer number,
int minValue,
java.lang.String name) |
Assert that an integer is not null and is greater than or equal to minValue.
|
Assert |
Assert.isEqual(java.lang.Integer number,
int value,
java.lang.String name) |
Assert that an integer is equal to value.
|
Assert |
Assert.isHexString(java.lang.String hex,
java.lang.String name) |
Assert that a string has a valid hexadecimal format.
|
Assert |
Assert.isInRange(java.lang.Integer number,
int minValue,
int maxValue,
java.lang.String name) |
Assert that an integer is not null and is in the range minValue, maxValue.
|
Assert |
Assert.isTrue(java.lang.Boolean condition,
java.lang.String name) |
Assert that a condition is true.
|
Assert |
Assert.notEmpty(byte[] obj,
java.lang.String name) |
Assert that a byte array is not null and not empty.
|
Assert |
Assert.notEmpty(java.lang.String obj,
java.lang.String name) |
Assert that the input string is not null and not empty.
|
Assert |
Assert.notEmpty(java.util.Collection<?> obj,
java.lang.String name) |
Assert that a collection of objects is not null and not empty.
|
Assert |
Assert.notNull(java.lang.Object obj,
java.lang.String name) |
Assert that the input object is not null.
|