String l = "63, 47, 51, 35, 36, 52, 37, 53, 38, 54, 39, 55, 40, 56, 41, 57, 42";
List<Integer> list = Arrays.asList(l.split(", ")).stream()
.map(s -> Integer.parseInt(s)) //.map(Integer::valueOf)
.collect(Collectors.toList());
posted on 2019-09-07 11:14  独醉笑清风  阅读(3462)  评论(0)    收藏  举报
努力加载评论中...

点击右上角即可分享
微信分享提示