List<String> 转 List<Long>

List<Long> cdids = Arrays.asList(params.get("cdids").toString().split(",")).stream().map(s -> Long.parseLong(s.trim())).collect(Collectors.toList()); //测点数组

猜你喜欢

转载自www.cnblogs.com/genghuilove/p/11359372.html
今日推荐