list.size() = 1 但显示 All elements are null

https://blog.csdn.net/weixin_43899069/article/details/124668722

if (CollectionUtils.isNotEmpty(list) && list.get(0) != null) {
return xxx;
}

posted on 2022-12-16 15:33  吴XX  阅读(103)  评论(0)    收藏  举报