public final class MorePreconditions
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
checkNotNullAsState(T reference) |
static <T> T |
checkNotNullAsState(T reference,
java.lang.Object message) |
static <T> T |
checkNotNullAsState(T reference,
java.lang.String format,
java.lang.Object... args) |
static <T extends java.lang.CharSequence> |
checkNotNullOrEmpty(T reference) |
static <T extends java.util.Collection<?>> |
checkNotNullOrEmpty(T reference) |
static <T extends java.lang.CharSequence> |
checkNotNullOrEmpty(T reference,
java.lang.Object message) |
static <T extends java.util.Collection<?>> |
checkNotNullOrEmpty(T reference,
java.lang.Object message) |
static <T extends java.lang.CharSequence> |
checkNotNullOrEmpty(T reference,
java.lang.String format,
java.lang.Object... args) |
static <T extends java.util.Collection<?>> |
checkNotNullOrEmpty(T reference,
java.lang.String format,
java.lang.Object... args) |
public static <T extends java.lang.CharSequence> T checkNotNullOrEmpty(T reference)
public static <T extends java.lang.CharSequence> T checkNotNullOrEmpty(T reference, @Nullable java.lang.Object message)
public static <T extends java.lang.CharSequence> T checkNotNullOrEmpty(T reference, @Nullable java.lang.String format, @Nullable java.lang.Object... args)
public static <T extends java.util.Collection<?>> T checkNotNullOrEmpty(T reference)
public static <T extends java.util.Collection<?>> T checkNotNullOrEmpty(T reference, @Nullable java.lang.Object message)
public static <T extends java.util.Collection<?>> T checkNotNullOrEmpty(T reference, @Nullable java.lang.String format, @Nullable java.lang.Object... args)
public static <T> T checkNotNullAsState(T reference)
public static <T> T checkNotNullAsState(T reference, @Nullable java.lang.Object message)
public static <T> T checkNotNullAsState(T reference, @Nullable java.lang.String format, @Nullable java.lang.Object... args)