Tagged articles
4 articles
Page 1 of 1
Wukong Talks Architecture
Wukong Talks Architecture
Jul 29, 2024 · Backend Development

Understanding the Java Stream Pipeline: Implementation Principles and Execution Process

This article explains the internal workings of Java's Stream API pipeline, covering how intermediate and terminal operations are recorded, combined, and executed via stages and Sink interfaces, illustrating lazy evaluation, stateful vs stateless operations, and the mechanisms behind parallel and sequential processing.

Intermediate OperationsJavaLazy Evaluation
0 likes · 21 min read
Understanding the Java Stream Pipeline: Implementation Principles and Execution Process
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Dec 30, 2023 · Backend Development

Unlock Java 8 Streams: Simplify Collections with Powerful Operations

This article introduces Java 8 Stream API, explains how to create streams from collections, demonstrates common intermediate operations such as filter, map, flatMap, limit, skip, distinct, sorted, peek, and shows terminal actions like forEach, count, max, min, findFirst, findAny, and match methods with practical code examples.

CollectionsIntermediate OperationsJava
0 likes · 17 min read
Unlock Java 8 Streams: Simplify Collections with Powerful Operations
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 2, 2019 · Fundamentals

Introduction to Java 8 Stream API: Creation, Intermediate and Terminal Operations

This article introduces Java 8’s Stream API, explaining its purpose, key characteristics, how to create streams from collections or directly, and demonstrating common intermediate operations such as filter, map, limit, sorted, distinct, as well as terminal operations like forEach, count, and collect, with code examples.

CollectionsIntermediate OperationsJava
0 likes · 9 min read
Introduction to Java 8 Stream API: Creation, Intermediate and Terminal Operations