In this tutorial, we will learn what Streams are in Java and how we can develop an implementation approach. We will compare the Stream API to SQL statements as an implementation approach.

Audience

All Java Developers who want to learn the new feature of Java 8 i.e. Streams API.

Recommended

We strongly recommend checking the source code of the Stream Interface to better understand some of its inner-workings.

Introduction to Streams API

A Stream represents a sequence of objects from a source, which supports aggregate operations. A Stream is used to perform complex data processing operations, like filter, matching, mapping etc.

We can visualize a Stream as an approach to process data in a declarative way similar to a SQL statement.

#tutorial #java 8 #streams #java 1.8

Java Streams: An Implementation Approach
1.30 GEEK