05 2019 档案

摘要:investorList为List集合 每个对象都包含InvestMoney属性 CommonUtils.isNumeric为判断该属性是否为数字的方法 Double sum = investorList.stream().mapToDouble(n -> CommonUtils.isNumeric(n.getInvestMoney()) ? Double.parseDouble(n.getI... 阅读全文
posted @ 2019-05-10 14:11 Ysoo 阅读(15097) 评论(0) 推荐(0)