public final class Preconditions extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
checkNotNull(T reference,
String msg)
Checks if the reference is null, and if that is the case throws IllegalArgumentException
|
public static <T> void checkNotNull(T reference,
String msg)
reference - msg - IllegalArgumentException - if the reference is nullCopyright © 2016 Dexecutor. All rights reserved.