public final class Preconditions extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
checkNotNull(T reference)
Ensures that an object reference passed as a parameter to the calling
method is not null.
|
public static <T> T checkNotNull(T reference)
reference - an object referenceNullPointerException - if reference is null