- 博客(4)
- 收藏
- 关注
原创 Java-判空总结
一、List判空1、CollectionUtils.isEmpty(list)List<Integer> list = new ArrayList<Integer>();List<Integer> list1 = null;System.out.println(CollectionUtils.isEmpty(list));//trueSystem.out.println(CollectionUtils.isEmpty(list1));//true不
2021-05-07 11:40:49 242
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人