类 Checks
java.lang.Object
net.apexes.commons.lang.Checks
- 作者:
- HeDYn
-
方法概要
修饰符和类型方法说明static booleanstatic booleanstatic booleanstatic <T extends Collection<?>>
booleanisEmpty(T collection) static <T> booleanisEmpty(T[] array) static booleanisNotBlank(String str) static booleanisNotEmpty(String str) static booleanisNotEmpty(Map<?, ?> map) static <T extends Collection<?>>
booleanisNotEmpty(T collection) static <T> booleanisNotEmpty(T[] array) static voidverifyNotEmpty(String value, String argName) static voidverifyNotEmpty(Collection<?> collection, String argName) static <T> voidverifyNotEmpty(T[] array, String argName) static voidverifyNotNull(Object reference, String argName) static <T> TverifyNotNull(T reference)
-
方法详细资料
-
verifyNotNull
public static <T> T verifyNotNull(T reference) -
verifyNotNull
-
verifyNotEmpty
-
verifyNotEmpty
-
verifyNotEmpty
-
isBlank
-
isNotBlank
-
isEmpty
-
isEmpty
-
isEmpty
public static <T> boolean isEmpty(T[] array) -
isEmpty
-
isNotEmpty
-
isNotEmpty
-
isNotEmpty
public static <T> boolean isNotEmpty(T[] array) -
isNotEmpty
-