public abstract class JudgmentUtil extends Object
| Constructor and Description |
|---|
JudgmentUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isBlank(CharSequence... css)
字符串全部为空
|
static boolean |
isBlank(CharSequence cs)
字符串为空
|
static boolean |
isEmpty(Collection<?>... collections)
集合全部为空
|
static boolean |
isEmpty(Collection<?> collection)
集合为空
|
static boolean |
isEmpty(Map<?,?>... collections)
集合全部为空
|
static boolean |
isEmpty(Map<?,?> collection)
集合为空
|
static boolean |
isLegalNumber(Number number)
数值是否合法(不为空且大于零)
|
static boolean |
isNotBlank(CharSequence... css)
字符串全部不为空
|
static boolean |
isNotBlank(CharSequence cs)
字符串不为空
|
static boolean |
isNotEmpty(Collection<?>... collections)
集合全部不为空
|
static boolean |
isNotEmpty(Collection<?> collection)
集合不为空
|
static boolean |
isNotEmpty(Map<?,?>... collections)
集合全部不为空
|
static boolean |
isNotEmpty(Map<?,?> collection)
集合不为空
|
static boolean |
isNotNull(Object... objs)
多个对象全部不为空
|
static boolean |
isNotNull(Object obj)
对象不为空
|
static boolean |
isNull(Object... objs)
多个对象全部为空
|
static boolean |
isNull(Object obj)
对象为空
|
public static boolean isNull(Object obj)
obj - 对象public static boolean isNull(Object... objs)
objs - 对象数组public static boolean isNotNull(Object obj)
obj - 对象public static boolean isNotNull(Object... objs)
objs - 对象数组public static boolean isBlank(CharSequence cs)
cs - 字符串public static boolean isBlank(CharSequence... css)
css - 字符串数组public static boolean isNotBlank(CharSequence cs)
cs - 字符串public static boolean isNotBlank(CharSequence... css)
css - 字符串数组public static boolean isLegalNumber(Number number)
number - 数值public static boolean isEmpty(Collection<?> collection)
collection - 集合public static boolean isEmpty(Collection<?>... collections)
collections - 集合数组public static boolean isNotEmpty(Collection<?> collection)
collection - 集合public static boolean isNotEmpty(Collection<?>... collections)
collections - 集合数组public static boolean isEmpty(Map<?,?> collection)
collection - 集合public static boolean isEmpty(Map<?,?>... collections)
collections - 集合数组public static boolean isNotEmpty(Map<?,?> collection)
collection - 集合public static boolean isNotEmpty(Map<?,?>... collections)
collections - 集合数组Copyright © 2025. All rights reserved.