| 限定符 | 构造器和说明 |
|---|---|
private |
If() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
hasText(String 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 |
notNull(Object object)
判断对象是否非空
|
private If()
public static <T> boolean isEmpty(T[] array)
public static <T> boolean isNotEmpty(T[] array)
public static boolean isNotEmpty(Map<?,?> map)
public static boolean isEmpty(Collection<?> collection)
public static boolean isNotEmpty(Collection<?> collection)
Copyright © 2024. All rights reserved.