时间:2024-11-03 06:09:03
1、首先你要引入一个hutool的jar包
3、boolean b = ArrayUtil.isAllNotEmpty(s, s1);//是否存都不为或空对象
5、将两个值都设置为不为空查看结果