List<Integer>转List<String>

List<String> string2 = ints.stream().map(String::valueOf).collect(Collectors.toList());

你可能感兴趣的:(stream,转换,java)