类 AutoTableUtils

java.lang.Object
org.dromara.autotable.solon.util.AutoTableUtils

public final class AutoTableUtils extends Object
auto-table工具类 替换hutool工具类
作者:
chengliang4810
  • 方法详细资料

    • defaultIfNull

      public static <T> T defaultIfNull(T object, T defaultValue)
      对象默认值处理 替换 hutool ObjUtil.defaultIfNull
    • notEmpty

      public static <T extends Collection<?>> T notEmpty(T collection, RuntimeException exception)
      集合非空断言 替换 hutool Assert.notEmpty
    • isNotBlank

      public static boolean isNotBlank(String str)
      字符串是否非空白 替换 hutool StrUtil.isNotBlank
    • arrayToList

      public static List<Object> arrayToList(Object array)
      数组转List 替换 hutool ListUtil.toList