public final class Assert extends Object
| Constructor and Description |
|---|
Assert() |
| Modifier and Type | Method and Description |
|---|---|
static void |
notBlank(String text,
String message)
不能为空白字符串
|
static void |
notEmpty(Collection<?> collection,
String message)
不能为空集合
|
static void |
notEmpty(Map<?,?> map,
String message)
不能为空集合
|
static void |
notEmpty(String text,
String message)
不能为空字符串
|
static void |
notNull(Object object,
String message)
不能为 null
|
public static void notEmpty(@Nullable Collection<?> collection, String message)
Copyright © 2025. All rights reserved.