Java 8 tutorial 15 (Streams) – map, filter, forEach, & toArray Stream methods

Java 8 tutorial 15 (Streams) – map, filter, forEach,  & toArray Stream methods


What is the difference between the stream and parallelStream default methods added to the Collection interface in Java 8? What is the Predicate functional interface? What is the Stream interface filter method? What is the Function functional interface? What is the Stream interface map method? What is the Stream interface forEach method? What is the Consumer functional interface? What is the difference between the Stream interface toArray methods?

5 thoughts on “Java 8 tutorial 15 (Streams) – map, filter, forEach, & toArray Stream methods”

  1. Java 8 tutorial 14 (Streams) – Ways of obtaining a Stream @ https://youtu.be/6TKDjfLGVNc

    Java 8 tutorial 15 (Streams) – map, filter, forEach, & toArray Stream methods @ https://youtu.be/mpLGGNWolnc

    Java 8 tutorial 16 (Streams) – groupingBy, partitioningBy, counting, & mapping Collectors methods @

    https://youtu.be/CaERsnos5p4

    Java 8 tutorial 17 (Streams) – toList, toSet, & toCollection Collectors methods @ https://youtu.be/Z_uFZfYxICw

    Java 8 tutorial 18 (Streams) – allMatch Stream method @ https://youtu.be/1a4CUPVR8m4

    Java 8 Tutorial 19 (Streams) – noneMatch, anyMatch Stream methods @ https://youtu.be/lPQswi-5krk

Leave a Reply

Your email address will not be published. Required fields are marked *