public final class Preconditions
extends Object
-
Method Summary
static int
static long
static <T> T
static <T> T
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
checkNotNull
public static <T> T checkNotNull(T value,
String message)
-
check
public static <T> T check(T value,
boolean test,
String message)
-
check
public static long check(long value,
boolean test,
String message)
-
check
public static int check(int value,
boolean test,
String message)