通过Stream将List<Long> 转List<String>

List<String> stringList = longList.stream().map(long -> long + "").collect(Collectors.toList()));

你可能感兴趣的:(java)