java8 lamda 例子记录
程序员文章站
2023-12-29 15:46:34
...
1. stringjoin
expectList=[1,2,3,4,5] expectList.stream().map(status -> status.int()).collect(Collectors.joining(","))