java8 steam map reduce
java8 steam map reduce private static void mapReduce() { List<String> list = Arrays.asList("你好", "谢谢", "李白", "白居易", "李清照"); String reuslt = list.stream().reduce((a, b) -> a + ";" + b).orElse(null); System.out.println(reu
原创
2020-08-06 11:09:10 ·
733 阅读 ·
0 评论