@@ -0,0 +1,444 @@
+package com.hzh.corejava.function;%0A%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0Apublic class StreamTest %7B%0A    public static void main(String%5B%5D args) %7B%0A        testReduce();%0A    %7D%0A%0A    private static void testReduce() %7B%0A        List%3CInteger%3E list = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);%0A        String text = list.stream().map(a -%3E Integer.toString(a)).reduce((a, b) -%3E a + %22,%22 + b).get();%0A        System.out.println(text);%0A    %7D%0A%7D%0A

Add stream example.