@@ -0,0 +1,473 @@
+package io.github.kuyer.jbase.lang;%0A%0Aimport java.util.Arrays;%0Aimport java.util.List;%0Aimport java.util.stream.Stream;%0A%0Apublic class StreamTest1 %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09List%3CInteger%3E list = Arrays.asList(4, 2, 7, 3, 1, 5, 9, 6);%0A%09%09Stream%3CInteger%3E stream = list.stream();%0A%09%09stream.filter(i-%3Ei!=7).skip(1).limit(3).forEach(System.out::print);%0A%09%09System.out.println();%0A%09%09System.out.println(Arrays.asList(3, 2, 5).stream().reduce((a, b)-%3Ea+b).get());%0A%09%7D%0A%0A%7D%0A

add stream test