This article covers the creation of Java Streams from collections, arrays, files, and I/O channels, providing code examples and explanations of their benefits.
The article “Filtering Streams: A Pirate’s Guide” covers how to filter stream elements based on specific criteria using the filter() method and a Predicate, including the ability to apply multiple filters on a single stream.
This article covers the topic of mapping streams in Java, including how to map stream elements to new values and how to use flat mapping to transform nested collections.
This article covers the use of reduction and aggregate operations on streams in Java, providing code examples and explanations of their purpose and functionality.
This article covers the topic of collecting stream elements into collections, including creating collections of stream elements, collecting stream elements into lists, sets, and maps, and creating custom collectors for more customized behavior.
This article explains the benefits and usage of parallel streams in Java, describing how they allow for concurrent processing of stream operations on multi-core processors to improve performance.