Package | Description |
---|---|
org.eclipse.keyple.core.util |
Contains various utility classes.
|
Modifier and Type | Method and Description |
---|---|
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.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.util.List<? extends java.lang.Object> obj,
java.lang.String name)
Assert that a list of objects 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.notNull(java.lang.Object obj,
java.lang.String name)
Assert that the input object is not null.
|