public final class Assertion
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assertNotNull(java.lang.Object value)
Assert the given value is not null
|
static <T> T |
ifNotNull(T value)
Assert given object is not null
|
public static <T> T ifNotNull(T value)
T - typevalue - value to testpublic static void assertNotNull(java.lang.Object value)
value - value to test