方法一:list.isEmpty()

 

方法二:list.size() ==0

 

方法三:list == null

相关文章:

  • 2022-12-23
  • 2022-02-06
  • 2022-01-24
  • 2022-01-06
  • 2021-10-07
  • 2022-12-23
  • 2022-01-01
猜你喜欢
  • 2021-11-05
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
  • 2022-02-24
相关资源
相似解决方案