public abstract class AssertObject
extends java.lang.Object
Constructor and Description |
---|
AssertObject() |
Modifier and Type | Method and Description |
---|---|
static <C> C |
assertObject(C obj)
Checks if an object reference is null or not.
|
public static <C> C assertObject(C obj)
C
- -obj
- an object reference that is supposed to not be null