摘要: 1.数字字符串以逗号分割,转成整形数组 String ids = "1,2,3,4,5"; List<Integer> idList = Arrays.stream(ids.split(",")).map(Integer::parseInt).collect(Collectors.toList()) 阅读全文
posted @ 2022-09-01 23:57 星期三q 阅读(64) 评论(0) 推荐(0)