list.size>0判断集合size是否大于0 list.isEmpty()判断集合是否为空,返回布尔值 转载于:https://www.cnblogs.com/minshia/p/6798728.html