您的位置: 首页 > IT文章 > 判断list集合是否为空的方法 判断list集合是否为空的方法 分类: IT文章 • 2022-07-29 13:22:00 方法一:list.isEmpty() 方法二:list.size() ==0 方法三:list == null