List<Long> list = Arrays.stream(id.split(",")).map(s -> Long.parseLong(s.trim())).collect(Collectors.toList());
String 转 List<Long>
最新推荐文章于 2024-08-25 17:01:08 发布
List<Long> list = Arrays.stream(id.split(",")).map(s -> Long.parseLong(s.trim())).collect(Collectors.toList());