List<String> stringList = longList.stream().map(long -> long + "").collect(Collectors.toList()));
通过Stream将List<Long> 转List<String>
于 2022-12-06 15:12:15 首次发布
List<String> stringList = longList.stream().map(long -> long + "").collect(Collectors.toList()));