1、String的非空判断。

  StringUtils.isNotEmpty(String str);

2、Integer的非空判断。

  null != Integer ;

3、list的大小判断。

  list.size() == 0

4、对象的非空判断

  null != object

相关文章:

  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
  • 2021-11-28
  • 2021-06-02
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案