Java判断集合是否为空 ```//检验集合是否为空 if (CollectionUtils.isEmpty(list)) { //为空 throw new BusinessException(ResponseCode.RESULT_DATA_NONE); }