| 限定符 | 构造器和说明 |
|---|---|
private |
If() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
hasText(String string) |
static boolean |
isEmpty(Collection<?> collection) |
static boolean |
isEmpty(Map<?,?> map) |
static <T> boolean |
isEmpty(T[] array) |
static boolean |
isNotEmpty(Collection<?> collection)
已过时。
|
static boolean |
isNotEmpty(Map<?,?> map)
已过时。
|
static <T> boolean |
isNotEmpty(T[] array)
已过时。
|
static boolean |
isNull(Object object)
判断对象是否为空
|
static boolean |
notEmpty(Collection<?> collection) |
static boolean |
notEmpty(Map<?,?> map) |
static <T> boolean |
notEmpty(T[] array) |
static boolean |
noText(String string) |
static boolean |
notNull(Object object)
判断对象是否非空
|
private If()
public static <T> boolean isEmpty(T[] array)
@Deprecated public static <T> boolean isNotEmpty(T[] array)
public static <T> boolean notEmpty(T[] array)
@Deprecated public static boolean isNotEmpty(Map<?,?> map)
public static boolean isEmpty(Collection<?> collection)
@Deprecated public static boolean isNotEmpty(Collection<?> collection)
public static boolean notEmpty(Collection<?> collection)
Copyright © 2025. All rights reserved.