investorList为List集合 每个对象都包含InvestMoney属性 CommonUtils.isNumeric为判断该属性是否为数字的方法 Double sum = investorList.stream().mapToDouble(n -> CommonUtils.isNumeric(n.getInvestMoney()) ? Double.parseDouble(n.getI... Read More
posted @ 2019-05-10 14:11
Ysoo
Views(15094)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号