public final class Guard
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isMapNullOrEmpty(java.util.Map<?,?> map) |
static boolean |
isMultiMapNullOrEmpty(com.google.common.collect.Multimap<?,?> multimap) |
static boolean |
isNotNullAndNotEmpty(java.util.Collection<?> collection) |
static boolean |
isNullOrEmpty(java.util.Collection<?> collection) |
static boolean |
isStringNullOrEmpty(java.lang.String str) |
static void |
throwOnNullOrEmptyString(java.lang.String str,
java.lang.String message) |
public static boolean isNullOrEmpty(java.util.Collection<?> collection)
public static boolean isStringNullOrEmpty(java.lang.String str)
public static void throwOnNullOrEmptyString(java.lang.String str, java.lang.String message)
public static boolean isNotNullAndNotEmpty(java.util.Collection<?> collection)
public static boolean isMultiMapNullOrEmpty(com.google.common.collect.Multimap<?,?> multimap)
public static boolean isMapNullOrEmpty(java.util.Map<?,?> map)