java判断数组是否为空
1、在你的项目中引入hutool的jar包

3、boolean empty = ArrayUtil.isEmpty(strs);//数组是否为空

5、运行程序查看得到的结果

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:22
阅读量:33
阅读量:62
阅读量:37
阅读量:32
1、在你的项目中引入hutool的jar包
3、boolean empty = ArrayUtil.isEmpty(strs);//数组是否为空
5、运行程序查看得到的结果