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