public class Preconditions
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkArgument(boolean condition) |
static <T> T |
checkNotNull(T obj) |
static boolean |
isEmpty(java.lang.CharSequence text) |
static boolean |
isEmpty(java.util.List list) |
static boolean |
notEmpty(java.lang.CharSequence... texts) |
static boolean |
notEmpty(java.util.List list) |
public static <T> T checkNotNull(T obj)
public static void checkArgument(boolean condition)
public static boolean isEmpty(java.lang.CharSequence text)
public static boolean notEmpty(java.lang.CharSequence... texts)
public static boolean isEmpty(java.util.List list)
public static boolean notEmpty(java.util.List list)