public interface If
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
everFalse(Object o)
总是假的
|
static boolean |
everTrue(Object o)
总是真的
|
static boolean |
isBlank(CharSequence cs)
判断字符串是否为空
|
static boolean |
isEmpty(Object value)
判断数据对象(Collection, Map, Array)是否为空
|
static boolean |
isNull(Object object)
判断对象是否为空
|
static boolean |
notBlank(CharSequence cs)
判断字符串是否不为空
|
static boolean |
notEmpty(Object value)
判断数据对象(Collection, Map, Array)是否不为空
|
static boolean |
notNull(Object object)
判断对象是否非空
|
static <T> Ifs<T> |
test()
多条件选择
|
static <T> InIfs<T> |
testIn()
多条件选择
|
static boolean everTrue(Object o)
o - objectstatic boolean everFalse(Object o)
o - objectstatic boolean notEmpty(Object value)
value - Collection, Map, ArrayisEmpty(Object)static boolean isEmpty(Object value)
value - Collection, Map, Arraystatic boolean isBlank(CharSequence cs)
cs - 需要判断字符串static boolean notBlank(CharSequence cs)
cs - 需要判断字符串static boolean isNull(Object object)
object - ignorestatic boolean notNull(Object object)
object - ignorestatic <T> Ifs<T> test()
static <T> InIfs<T> testIn()
Copyright © 2021. All rights reserved.