amitph.com > Java Tutorials: Java 8 Streams API - Intermediate Operations
Java 8 Streams API - Intermediate Operations Last couple of posts, we are having an overview of Java 8 Streams API. Till now we have looked at the basics of the streams, understood how the streams work, ways of creating and working with streams and learned about streams laziness and its performance optimization. During the last discussion, we have understood that any Stream Operation can be divided into the following steps Creating a Stream. Streams can be created from an existing collection or the other ways of creating Streams. Set of Intermediate Operations. Intermediate Operations process over a Stream and return Stream as a response. A Terminal Operation. Terminal Operation is the end of a Stream flow. For this tutorial we will focus on the various Intermediate Operations made available by the Java 8 Streams API. Examples used in previous posts demonstrates few of the Intermediate Operations like map, filter. Here will have a look at all of them in detail. Mapping:Read full article from amitph.com > Java Tutorials: Java 8 Streams API - Intermediate Operations
No comments:
Post a Comment