类 AutoTableUtils
java.lang.Object
org.dromara.autotable.solon.util.AutoTableUtils
auto-table工具类
替换hutool工具类
- 作者:
- chengliang4810
-
方法概要
修饰符和类型方法说明arrayToList(Object array) 数组转List 替换 hutool ListUtil.toListstatic <T> TdefaultIfNull(T object, T defaultValue) 对象默认值处理 替换 hutool ObjUtil.defaultIfNullstatic booleanisNotBlank(String str) 字符串是否非空白 替换 hutool StrUtil.isNotBlankstatic <T extends Collection<?>>
TnotEmpty(T collection, RuntimeException exception) 集合非空断言 替换 hutool Assert.notEmpty
-
方法详细资料
-
defaultIfNull
public static <T> T defaultIfNull(T object, T defaultValue) 对象默认值处理 替换 hutool ObjUtil.defaultIfNull -
notEmpty
集合非空断言 替换 hutool Assert.notEmpty -
isNotBlank
字符串是否非空白 替换 hutool StrUtil.isNotBlank -
arrayToList
数组转List 替换 hutool ListUtil.toList
-