Tagged articles
131 articles
Page 1 of 2
FunTester
FunTester
Apr 30, 2026 · Backend Development

Understanding Gatherer and Groovy’s Collection Capabilities

The article explains how JDK 24’s Gatherer API extends Java streams with custom intermediate operations, compares its functionality to Groovy’s rich collection methods, and provides concrete Gatherer implementations for slicing, fixed and sliding windows, folding, and subsequence detection, complete with runnable code examples.

CollectionGathererGroovy
0 likes · 16 min read
Understanding Gatherer and Groovy’s Collection Capabilities
Node.js Tech Stack
Node.js Tech Stack
Apr 11, 2026 · Cloud Native

Control Node.js Heap Size with ENV in Kubernetes – New --max-heap-size in 25.9.0

Node.js 25.9.0 adds support for the --max‑heap‑size flag in the NODE_OPTIONS whitelist, allowing containers on Kubernetes to set heap limits via environment variables, reducing OOM kills, while also introducing experimental stream/iter API, test‑module mock changes, new Web Crypto algorithms, and other enhancements.

Environment VariablesHeap MemoryKubernetes
0 likes · 8 min read
Control Node.js Heap Size with ENV in Kubernetes – New --max-heap-size in 25.9.0
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 7, 2025 · Backend Development

Unlock 6 Powerful Spring Data JPA Features for Faster Development

This article introduces Spring Data JPA and demonstrates six advanced capabilities—including Optional return types, Stream API, asynchronous CompletableFuture queries, offset‑based scrolling, and keyset‑based scrolling—each illustrated with concise code examples and execution results to boost productivity and performance.

AsyncKeyset ScrollingStream API
0 likes · 8 min read
Unlock 6 Powerful Spring Data JPA Features for Faster Development
Architecture Digest
Architecture Digest
Oct 30, 2025 · Fundamentals

Transform Java Code with Lambda: From Boilerplate to Elegant Streams

This article explains how Java's lambda expressions and Stream API replace verbose boilerplate with concise, functional code, covering core pain points, simple sorting examples, the three Stream operations, declarative pipelines, advanced concurrency and null‑handling techniques, and a decision guide for when to use lambdas.

Code RefactoringJavaLambda
0 likes · 7 min read
Transform Java Code with Lambda: From Boilerplate to Elegant Streams
Su San Talks Tech
Su San Talks Tech
Oct 12, 2025 · Backend Development

Unlock Java 17: 7 Game-Changing Features Every Developer Must Know

This article explores the most impactful Java 17 enhancements—including records, sealed classes, pattern matching, text blocks, var, enhanced switch, and new APIs—showing how they simplify code, improve readability, boost performance, and modernize Java development for both beginners and seasoned programmers.

JDK 17JavaRecord
0 likes · 13 min read
Unlock Java 17: 7 Game-Changing Features Every Developer Must Know
Architect's Tech Stack
Architect's Tech Stack
Oct 1, 2025 · Backend Development

Unlock Java 17: Records, Sealed Classes, Pattern Matching & More

This article explains why upgrading from Java 8 to JDK 17 is essential, detailing new language features such as records, sealed classes, pattern matching, text blocks, var inference, enhanced switch, Stream API improvements, better NullPointerExceptions, modern garbage collectors, and the foreign memory access API, all illustrated with concise code examples.

JDK 17JavaRecord
0 likes · 13 min read
Unlock Java 17: Records, Sealed Classes, Pattern Matching & More
Architecture Digest
Architecture Digest
Sep 29, 2025 · Fundamentals

Unlock Java’s New Power: 10 JDK 17 Features That Transform Your Code

This article explores the most impactful JDK 17 enhancements—including records, sealed classes, pattern matching, text blocks, improved switch expressions, var type inference, and advanced Stream API features—showing how they simplify Java code, boost readability, and increase performance for developers transitioning from older versions.

JDK 17JavaSealed Classes
0 likes · 14 min read
Unlock Java’s New Power: 10 JDK 17 Features That Transform Your Code
Selected Java Interview Questions
Selected Java Interview Questions
Sep 21, 2025 · Backend Development

Unlock Java’s New Power: Why JDK 17’s “Magic Syntax” Beats JDK 8

This article explains why upgrading from Java 8 to the long‑term‑support JDK 17 is essential, detailing record types, sealed classes, pattern matching, text blocks, var inference, enhanced switch, and other modern features that dramatically reduce boilerplate, improve readability, and boost performance for backend developers.

Backend DevelopmentJDK 17Sealed Classes
0 likes · 14 min read
Unlock Java’s New Power: Why JDK 17’s “Magic Syntax” Beats JDK 8
Architect's Guide
Architect's Guide
Sep 16, 2025 · Backend Development

How to Replace Clunky if‑else Chains with Elegant Java Patterns

This article shares practical techniques for reducing verbose if‑else statements in Java, covering strategy‑enum patterns, ternary operators, Stream API methods, Map lookups, enums, and Optional, each illustrated with concise code examples to make conditional logic clearer and more maintainable.

Code OptimizationDesign PatternsJava
0 likes · 9 min read
How to Replace Clunky if‑else Chains with Elegant Java Patterns
Java Backend Technology
Java Backend Technology
Aug 15, 2025 · Backend Development

Simplify Java Stream Processing with JDFrame – A JVM‑Level DataFrame Library

This article introduces JDFrame, a JVM‑level DataFrame‑style library that provides a more expressive, SQL‑like API for Java 8 streams, shows how to add the Maven dependency, demonstrates common operations such as filtering, grouping, sorting, joining, and explains the differences between SDFrame and JDFrame with practical code examples.

JDFrameJavaStream API
0 likes · 19 min read
Simplify Java Stream Processing with JDFrame – A JVM‑Level DataFrame Library
Java Backend Technology
Java Backend Technology
Aug 13, 2025 · Backend Development

Why Stream.toList() Throws UnsupportedOperationException vs collect(Collectors.toList())

This article explains the key differences between Java's Stream toList() method introduced in JDK 16, which returns an unmodifiable list, and the traditional collect(Collectors.toList()) which yields a mutable ArrayList, illustrating behavior with code examples, performance considerations, and practical usage tips.

CollectionsCollectorsImmutable List
0 likes · 8 min read
Why Stream.toList() Throws UnsupportedOperationException vs collect(Collectors.toList())
macrozheng
macrozheng
Jun 30, 2025 · Backend Development

Mastering Java Stream toMap: Handling Duplicate Keys with Ease

Learn how to effectively use Java's Stream API to convert a list of User objects into a Map, handle duplicate keys by providing a merge function, and avoid common pitfalls like IllegalStateException and NullPointerException using Optional and concise code examples.

CollectorsDuplicate KeyJava
0 likes · 6 min read
Mastering Java Stream toMap: Handling Duplicate Keys with Ease
Java Captain
Java Captain
Jun 11, 2025 · Backend Development

Master Java Stream API: From Basics to Advanced Operations

This comprehensive guide explains the Java Stream API, covering its purpose, creation methods, intermediate and terminal operations, and the Optional class, with clear examples and code snippets to help developers write cleaner, more efficient functional-style code.

LambdaStream APIfunctional programming
0 likes · 22 min read
Master Java Stream API: From Basics to Advanced Operations
Lin is Dream
Lin is Dream
Jun 9, 2025 · Backend Development

Master Java Stream API: Real‑World Examples Covering 90% of Business Scenarios

This article introduces Java 8 functional programming concepts such as lambda expressions and method references, explains the Stream API, and provides dozens of practical code snippets for querying, grouping, aggregating, sorting, partitioning, and parallel processing of collections, helping developers handle most everyday business logic efficiently.

CollectionsJavaLambda
0 likes · 14 min read
Master Java Stream API: Real‑World Examples Covering 90% of Business Scenarios
Java Captain
Java Captain
Apr 29, 2025 · Fundamentals

Java Stream API: Concepts, Operations, and Practical Examples

This article introduces the concept and benefits of Java Stream programming, explains its core features such as lazy evaluation, parallel processing, and functional style, and provides detailed examples of creating streams, common intermediate and terminal operations, and practical use cases for data manipulation.

JavaStream APIdata transformation
0 likes · 34 min read
Java Stream API: Concepts, Operations, and Practical Examples
Top Architect
Top Architect
Apr 26, 2025 · Backend Development

Understanding Java 8 Stream API with Practical PO Examples

This article introduces Java 8 Stream API, explains its core operations such as filter, map, sorted, forEach, collect, statistics, and parallelStream, and demonstrates their usage with a UserPo class through comprehensive code examples, while also noting unrelated promotional offers.

Backend DevelopmentCode ExampleJava
0 likes · 11 min read
Understanding Java 8 Stream API with Practical PO Examples
Java Captain
Java Captain
Apr 24, 2025 · Backend Development

Comparing Collections Using Java Stream API

This article explains how to log pre‑update data, compare old and new records, and use Java Stream operations such as filter, collect, anyMatch, noneMatch, and contains to identify differences between collections, including custom objects, with code examples and best‑practice recommendations.

Backend DevelopmentCollection ComparisonJava
0 likes · 13 min read
Comparing Collections Using Java Stream API
Su San Talks Tech
Su San Talks Tech
Apr 9, 2025 · Backend Development

Avoid These 7 Common Java Stream Mistakes for Cleaner, Faster Code

Learn the seven most frequent Java Stream pitfalls—from missing terminal operations and modifying source data to overusing intermediate steps and thread‑safety issues—and discover practical fixes that ensure your streams execute correctly, efficiently, and safely.

JavaStream APIcommon mistakes
0 likes · 11 min read
Avoid These 7 Common Java Stream Mistakes for Cleaner, Faster Code
Tencent Cloud Developer
Tencent Cloud Developer
Mar 13, 2025 · Backend Development

Modern Java Features: Lambda, Stream API, Project Loom, Panama, and Valhalla

Modern Java introduces lambda expressions and the Stream API for functional programming, while upcoming projects—Loom’s virtual threads, Panama’s foreign function and memory API, and Valhalla’s value classes and generic specialization—address concurrency, native interop, and performance, dramatically enhancing developer productivity and language capabilities.

JavaLambdaProject Loom
0 likes · 18 min read
Modern Java Features: Lambda, Stream API, Project Loom, Panama, and Valhalla
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 2, 2025 · Backend Development

Master Java Stream Tricks: Null Handling, Infinite Streams & Collectors

This article showcases a collection of over 100 practical Spring Boot 3 examples, focusing on modern Java Stream techniques such as Stream.ofNullable for null safety, Stream.iterate for infinite sequences, advanced collectors like collectingAndThen, takeWhile/dropWhile, teeing, and summarizingLong, each illustrated with concise code snippets.

JavaSpring BootStream API
0 likes · 7 min read
Master Java Stream Tricks: Null Handling, Infinite Streams & Collectors
macrozheng
macrozheng
Dec 30, 2024 · Backend Development

Master Java Stream API: From Basics to Advanced Collection Operations

This article introduces Java Stream API introduced in JDK 8, explains its pipeline concept, and demonstrates practical operations such as traversal, filtering, deduplication, type conversion, collection‑to‑map transformations, pagination, matching, and parallel processing with clear code examples.

BackendCollectionsJava
0 likes · 15 min read
Master Java Stream API: From Basics to Advanced Collection Operations
Top Architect
Top Architect
Oct 31, 2024 · Backend Development

Using Java 8 Stream API for POJO Collection Processing

This article introduces Java 8 Stream API, demonstrates filtering, mapping, sorting, collecting, and parallel streams with POJO examples, including code snippets, performance tips, and links to related resources, while also containing promotional messages for ChatGPT services.

CollectionsJavaJava 8
0 likes · 11 min read
Using Java 8 Stream API for POJO Collection Processing
Selected Java Interview Questions
Selected Java Interview Questions
Oct 22, 2024 · Backend Development

Common Java Stream API Programming and Operations

This article introduces Java 8's Stream API, explains how to create streams from collections and arrays, and demonstrates a wide range of intermediate and terminal operations with clear code examples to help developers write concise, efficient, and readable Java code.

Backend DevelopmentCollectionsJava
0 likes · 9 min read
Common Java Stream API Programming and Operations
Top Architect
Top Architect
Aug 19, 2024 · Backend Development

Using Java 8 Stream API for Collection Processing

This article introduces Java 8's Stream API, explains its functional style for handling collections, demonstrates common operations such as filter, map, sorted, forEach, collect, statistics, and parallelStream with concrete POJO examples, and provides a complete runnable code sample.

CollectionsJavaLambda
0 likes · 10 min read
Using Java 8 Stream API for Collection Processing
Top Architect
Top Architect
Aug 2, 2024 · Backend Development

JDFrame/SDFrame: A Semantic Java Stream DataFrame Library for Simplified Data Processing

This article introduces JDFrame/SDFrame, a JVM‑level DataFrame library that provides a more semantic and concise API for Java 8 stream operations, demonstrates how to add the Maven dependency, shows practical examples for filtering, grouping, sorting, joining, pagination, and explains the differences between the mutable JDFrame and the immutable SDFrame.

JDFrameJavaSDFrame
0 likes · 16 min read
JDFrame/SDFrame: A Semantic Java Stream DataFrame Library for Simplified Data Processing
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
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 29, 2024 · Fundamentals

Understanding Java Stream: How Lazy Pipelines Transform Collections

This article explains the core principles of Java Stream, covering its three main characteristics, pipeline construction, intermediate and terminal operations with code examples, and how lazy execution and sink generation produce results only when a terminal operation is invoked.

Backend DevelopmentJava 8Lazy Evaluation
0 likes · 10 min read
Understanding Java Stream: How Lazy Pipelines Transform Collections
Top Architect
Top Architect
Jul 8, 2024 · Backend Development

Using Java 8 Stream API for Collection Processing with Practical Examples

This article introduces Java 8 Stream API, explaining its declarative approach to processing collections, and demonstrates common operations such as filter, map, sorted, forEach, collect, statistics, and parallelStream with a PO class example, while also including full source code and brief promotional notes.

CollectionsJavaLambda
0 likes · 11 min read
Using Java 8 Stream API for Collection Processing with Practical Examples
Programmer DD
Programmer DD
Jun 4, 2024 · Backend Development

8 Essential Java Stream APIs to Simplify Collection Processing

This article introduces eight ready‑to‑use Java Stream APIs—including Stream.ofNullable, Stream.iterate, collectingAndThen, dropWhile/takeWhile, IntStream, teeing, concat, and partitioningBy—showing how each can cleanly handle nulls, generate sequences, transform collections, and combine streams with concise code examples.

CollectionsJavaJava 12
0 likes · 7 min read
8 Essential Java Stream APIs to Simplify Collection Processing
Top Architect
Top Architect
Apr 26, 2024 · Backend Development

Comprehensive Guide to Java 8 Stream API with Practical Examples

This article provides an in-depth tutorial on Java 8 Stream API, covering stream creation, intermediate and terminal operations, filtering, mapping, reduction, collection, sorting, grouping, and practical code examples, helping developers master functional programming with streams in Java.

Code ExamplesJavaStream API
0 likes · 24 min read
Comprehensive Guide to Java 8 Stream API with Practical Examples
Code Ape Tech Column
Code Ape Tech Column
Apr 26, 2024 · Backend Development

JDFrame/SDFrame: A JVM‑Level DataFrame‑Like Stream API for Java

This article introduces JDFrame/SDFrame, a Java library that provides a DataFrame‑style, semantic API for stream processing, covering quick start, dependency setup, comprehensive examples of filtering, aggregation, grouping, sorting, joining, and utility functions, along with code snippets and usage guidance.

BackendJDFrameJava
0 likes · 16 min read
JDFrame/SDFrame: A JVM‑Level DataFrame‑Like Stream API for Java
Java Captain
Java Captain
Mar 25, 2024 · Backend Development

Constructing Streams in Java 8: Methods and Examples

Java 8’s Stream API introduces a declarative, lazy-processing model for collections, and this article details multiple ways to create streams—including from collections, arrays, static factory methods, files, generators, and iterators—providing code examples and explanations to help developers harness its expressive and efficient data‑handling capabilities.

JavaJava 8Lazy Evaluation
0 likes · 5 min read
Constructing Streams in Java 8: Methods and Examples
DaTaobao Tech
DaTaobao Tech
Mar 20, 2024 · Backend Development

Understanding Java Stream Gather API and the mapConcurrent Operator

The article explains Java 22’s new Stream Gather API, which extends the traditional Stream model with custom Gatherers that can emit zero‑to‑many elements, enabling stateful, parallel operations such as a concurrency‑controlled mapConcurrent operator built on virtual threads, and compares it to Reactor‑core and Pekko‑Stream.

Gather APIJavaStream API
0 likes · 14 min read
Understanding Java Stream Gather API and the mapConcurrent Operator
Architecture Digest
Architecture Digest
Feb 21, 2024 · Backend Development

Java 8 Stream API Tutorial with PO Example and Common Operations

This article introduces Java 8's Stream API, explains its pipeline concept similar to SQL and Linux pipes, and demonstrates common operations such as filter, map, sorted, forEach, collect, statistics and parallelStream using a UserPo class with complete runnable code examples.

BackendJavaLambda
0 likes · 9 min read
Java 8 Stream API Tutorial with PO Example and Common Operations
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
Java Architect Essentials
Java Architect Essentials
Nov 17, 2023 · Backend Development

10 Java Stream API Best Practices Every Backend Developer Should Know

This article presents ten essential best‑practice guidelines for using Java’s Stream API—covering primitive streams, avoiding nested streams, cautious parallelism, lazy evaluation, side‑effect avoidance, immutability, filter‑before‑map, method references, distinct, and sorted—to help developers write more efficient, readable, and reliable functional code.

BackendStream APIbest practices
0 likes · 8 min read
10 Java Stream API Best Practices Every Backend Developer Should Know
Ops Development Stories
Ops Development Stories
Nov 10, 2023 · Backend Development

Master Java Stream API: Grouping, Sorting, Deduplication & More

This guide demonstrates essential Java Stream API techniques—including grouping collections into maps, extracting first entries, performing reductions to find max or min, converting streams to lists, sorting, removing duplicates, and a comprehensive list of frequently used stream operations—providing practical code examples for Java 11 and 17.

JavaSortingStream API
0 likes · 7 min read
Master Java Stream API: Grouping, Sorting, Deduplication & More
Architecture Digest
Architecture Digest
Oct 27, 2023 · Backend Development

10 Essential Java Stream API Tips and Best Practices

This article presents ten practical tips for using the Java Stream API effectively, covering primitive streams for performance, avoiding nested streams, careful use of parallel streams, lazy evaluation, side‑effect avoidance, immutability, proper ordering of filter and map, method references, distinct, and sorted operations, each illustrated with concise code examples.

JavaStream APIbest practices
0 likes · 7 min read
10 Essential Java Stream API Tips and Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 26, 2023 · Backend Development

Using Java Lambda Expressions to Simplify Collection Operations

This article explains how Java lambda expressions and the Stream API can replace verbose loops, comparators, and aggregation code with concise, readable functional constructs, covering traversal, sorting, aggregation, optional handling, thread creation, mapping, grouping, and parallel processing of collections.

CollectionsJavaLambda
0 likes · 10 min read
Using Java Lambda Expressions to Simplify Collection Operations
Java Architect Essentials
Java Architect Essentials
Oct 24, 2023 · Backend Development

10 Essential Java Stream API Best Practices

This article presents ten practical Java Stream API best‑practice tips—including using primitive streams, avoiding nested streams, cautious parallelism, lazy evaluation, side‑effect prevention, immutability, proper ordering of filter/map, method references, distinct and sorted usage—to help developers write more efficient, readable, and safe stream code.

Backend DevelopmentJavaStream API
0 likes · 8 min read
10 Essential Java Stream API Best Practices
Java Interview Crash Guide
Java Interview Crash Guide
Oct 17, 2023 · Backend Development

Unlock Java Stream API: 10 Essential Best Practices for High-Performance Code

This article presents ten practical best‑practice tips for using Java's Stream API—covering primitive streams, avoiding nested streams, cautious parallelism, lazy evaluation, side‑effect avoidance, immutability, filter‑before‑map, method references, distinct, and sorted—to write cleaner, more efficient, and maintainable Java code.

JavaStream APIfunctional programming
0 likes · 7 min read
Unlock Java Stream API: 10 Essential Best Practices for High-Performance Code
Top Architect
Top Architect
Oct 11, 2023 · Backend Development

Comprehensive Guide to Java 8 Stream API with Practical Code Examples

This article provides an in-depth tutorial on Java 8 Stream API, covering its concepts, creation methods, intermediate and terminal operations, mapping, reduction, collection, grouping, sorting, and includes numerous practical code examples to help developers master functional programming with streams.

Code ExamplesCollectionsJava
0 likes · 26 min read
Comprehensive Guide to Java 8 Stream API with Practical Code Examples
Top Architect
Top Architect
Sep 28, 2023 · Backend Development

Understanding Java Stream API: Concepts, Operations, and Practical Examples

This article introduces Java Stream API, explaining its functional programming concepts, lazy evaluation, and parallel processing capabilities, and provides detailed coverage of stream creation, intermediate operations such as filter, map, sorted, limit, and skip, as well as terminal operations like forEach, collect, reduce, match, find, and statistics, complemented by practical code examples.

JavaStream APITutorial
0 likes · 37 min read
Understanding Java Stream API: Concepts, Operations, and Practical Examples
Architect
Architect
Sep 27, 2023 · Backend Development

Comprehensive Guide to Java Stream API: Concepts, Operations, and Practical Examples

Java Stream API enables functional-style, declarative processing of collections and other data sources, offering lazy evaluation, parallel execution, and a rich set of intermediate and terminal operations such as filter, map, sorted, reduce, and collect, with examples illustrating creation, transformation, and practical usage.

CollectionsJavaStream API
0 likes · 38 min read
Comprehensive Guide to Java Stream API: Concepts, Operations, and Practical Examples
Java High-Performance Architecture
Java High-Performance Architecture
Sep 21, 2023 · Backend Development

Master Java Streams: Boost Code Readability and Performance

This comprehensive guide explains Java Stream fundamentals, its advantages such as declarative syntax, lazy evaluation, and parallel processing, and walks through creating streams, common intermediate and terminal operations, parallel streams, and practical code examples for handling collections and files.

JavaStream APIdata transformation
0 likes · 40 min read
Master Java Streams: Boost Code Readability and Performance
Java Interview Crash Guide
Java Interview Crash Guide
Sep 13, 2023 · Backend Development

Master Java 8 Streams: 20 Real‑World Examples to Boost Your Code

This comprehensive Java 8 Stream tutorial explains how Stream and Lambda simplify collection processing, walks through creating streams, intermediate and terminal operations, and provides twenty practical code examples covering filtering, aggregation, mapping, collecting, grouping, sorting, and parallel execution.

JavaJava 8Lambda
0 likes · 23 min read
Master Java 8 Streams: 20 Real‑World Examples to Boost Your Code
Java Architect Essentials
Java Architect Essentials
Aug 31, 2023 · Backend Development

Comprehensive Guide to Java 8 Stream API with Practical Examples

This article provides an in‑depth tutorial on Java 8 Stream API, explaining its concepts, intermediate and terminal operations, and demonstrating over twenty practical code examples—including filtering, mapping, reducing, collecting, grouping, and parallel streams—to help developers master functional-style data processing in Java.

CollectionsJavaLambda
0 likes · 21 min read
Comprehensive Guide to Java 8 Stream API with Practical Examples
Architecture Digest
Architecture Digest
Aug 14, 2023 · Backend Development

Java 8 Stream API Tutorial: 20 Practical Examples for Filtering, Mapping, Reducing, and More

This comprehensive tutorial explains Java 8's Stream API and Lambda expressions, demonstrating how to create streams from collections and arrays, perform intermediate operations like filter, map, flatMap, and sorted, and use terminal operations such as forEach, findFirst, reduce, and collect through twenty detailed code examples covering employee data processing, aggregation, grouping, and sorting.

CollectionsJavaJava 8
0 likes · 21 min read
Java 8 Stream API Tutorial: 20 Practical Examples for Filtering, Mapping, Reducing, and More
JD Tech
JD Tech
Apr 21, 2023 · Fundamentals

Elegant Java Programming Practices: Code Style, Guard Clauses, Streams, and More

This article shares practical Java coding guidelines—including guard clauses, effective use of Stream API, avoiding nested loops, designing APIs with @see/@link, refined logging, exception handling, custom Spring Boot banners, syntax sugar, chain programming, thread pausing, and tuple usage—to help developers write cleaner, more maintainable code.

Exception HandlingSpring BootStream API
0 likes · 12 min read
Elegant Java Programming Practices: Code Style, Guard Clauses, Streams, and More
Top Architect
Top Architect
Apr 18, 2023 · Backend Development

Understanding Java 8 Stream API, Parallel Streams, and ForkJoinPool

This article provides a comprehensive overview of Java 8's Stream API, explaining its core concepts, composition, BaseStream and Stream interfaces, the differences between parallel and sequential streams, the underlying ForkJoinPool mechanism, performance factors, and best practices for effective use in backend development.

Backend DevelopmentForkJoinPoolJava
0 likes · 21 min read
Understanding Java 8 Stream API, Parallel Streams, and ForkJoinPool
Code Ape Tech Column
Code Ape Tech Column
Apr 13, 2023 · Backend Development

Understanding Java Stream API: Implementation, Parallelism, and Performance

This article explains Java 8 Stream API's concepts, composition, pipelining, internal iteration, parallel execution using ForkJoinPool, performance considerations, and best practices, providing code examples and detailed analysis for developers seeking to write efficient, clean, and scalable backend Java code.

Backend DevelopmentForkJoinPoolJava
0 likes · 20 min read
Understanding Java Stream API: Implementation, Parallelism, and Performance
Selected Java Interview Questions
Selected Java Interview Questions
Sep 29, 2022 · Backend Development

Comprehensive Guide to Java Stream API and Optional Usage

This article provides an in‑depth tutorial on Java 8 Stream operations—including creation, intermediate and terminal operations, parallel streams, reduction, collection, and conversion—followed by a detailed explanation of the Optional class with examples of creation, presence checks, default values, filtering, mapping, and practical usage patterns.

CollectionsJava 8Stream API
0 likes · 17 min read
Comprehensive Guide to Java Stream API and Optional Usage
DaTaobao Tech
DaTaobao Tech
Sep 22, 2022 · Backend Development

Advanced Java Stream APIs: Reduce, Match, FlatMap and Performance Tips

The article explores lesser‑used Java Stream APIs—reduce, the matching trio (allMatch, anyMatch, noneMatch) and flatMap—showing practical examples, performance impacts of operation ordering, readability trade‑offs, and when to prefer streams or traditional loops, even mentioning parallelStream considerations.

JavaStream APIflatMap
0 likes · 10 min read
Advanced Java Stream APIs: Reduce, Match, FlatMap and Performance Tips
The Dominant Programmer
The Dominant Programmer
Jul 31, 2022 · Fundamentals

How Java 8 Stream API Can Multiply Your Coding Efficiency

The article introduces Java 8’s Stream API, showing how to create streams from collections, arrays, and static methods, and demonstrates common operations such as filter, map, flatMap, reduce, collect, grouping, sorting, and limiting, with concrete code examples that replace verbose loops and improve readability.

CollectionsJavaJava 8
0 likes · 9 min read
How Java 8 Stream API Can Multiply Your Coding Efficiency
Top Architect
Top Architect
Jun 11, 2022 · Backend Development

Using Java 8 Stream API for Data Processing with PO Objects

This article introduces Java 8's Stream API, explains its SQL‑like pipeline operations such as filter, map, sorted, forEach, collect, statistics and parallelStream, and demonstrates their usage on a UserPo class with comprehensive code examples for backend developers.

JavaStream APIfunctional programming
0 likes · 9 min read
Using Java 8 Stream API for Data Processing with PO Objects
Architect's Tech Stack
Architect's Tech Stack
Jun 7, 2022 · Backend Development

Java Stream Efficiency Analysis and Performance Comparison with Iterator

This article examines Java 8 Stream's data flow operations, compares its performance against traditional iterator loops across various tasks such as mapping, filtering, sorting, reduction, and string joining, and provides recommendations on when to use Stream, parallel Stream, or iterator based on data size and CPU cores.

IteratorJavaParallel Stream
0 likes · 10 min read
Java Stream Efficiency Analysis and Performance Comparison with Iterator
Selected Java Interview Questions
Selected Java Interview Questions
Jun 6, 2022 · Backend Development

Java 8 Stream API Tutorial with POJO Examples

This article introduces Java 8's Stream API, explains its declarative data‑processing style, and demonstrates common operations such as filter, map, sorted, forEach, collect, statistics, and parallelStream using a UserPo class with full runnable code examples.

CollectionsLambdaStream API
0 likes · 8 min read
Java 8 Stream API Tutorial with POJO Examples
Programmer DD
Programmer DD
May 20, 2022 · Backend Development

How to Debug Java Stream Operations Easily in IntelliJ IDEA

This guide explains why Java Stream debugging can be challenging, introduces the built‑in Java Stream Debugger plugin for IntelliJ IDEA, and walks through a sample code snippet showing how to visualize each pipeline step to quickly identify issues.

DebuggingIntelliJ IDEAJava
0 likes · 4 min read
How to Debug Java Stream Operations Easily in IntelliJ IDEA
Selected Java Interview Questions
Selected Java Interview Questions
Apr 14, 2022 · Backend Development

Converting a List to a Tree Structure Using Java 8 Streams

This article demonstrates how to transform a flat list into a hierarchical tree structure in Java by defining a NodeVO class, implementing a recursive Stream‑based conversion method, and testing it with sample data, showcasing the elegance of the Stream API over traditional loops.

Backend DevelopmentStream APITree Structure
0 likes · 4 min read
Converting a List to a Tree Structure Using Java 8 Streams
Programmer DD
Programmer DD
Apr 6, 2022 · Backend Development

How to Remove Duplicate Strings and Objects from Java Lists Efficiently

This article explains multiple ways to eliminate duplicate strings and objects from Java List collections, covering classic Set‑based methods, Java 8 Stream distinct operations, custom equals/hashCode implementations, and field‑based deduplication using comparators and generic predicates.

ComparatorJavaList
0 likes · 6 min read
How to Remove Duplicate Strings and Objects from Java Lists Efficiently
Java Architect Essentials
Java Architect Essentials
Jan 12, 2022 · Backend Development

Master Java Stream API: 20 Real‑World Examples and Best Practices

This tutorial walks through Java 8 Stream fundamentals, covering creation, intermediate operations (filter, map, flatMap, reduce), terminal actions, collectors, grouping, sorting, and parallel streams, illustrated with 20 practical code examples that transform and analyze collections of objects such as employee records.

CollectionsJavaStream API
0 likes · 24 min read
Master Java Stream API: 20 Real‑World Examples and Best Practices
Top Architect
Top Architect
Jan 6, 2022 · Backend Development

Simplifying Java Code with Stream API: From Filtering to Grouping

This article explains how Java 8's Lambda expressions and Stream API enable concise, declarative processing of collections—showing pre‑Java 8 versus Java 8 implementations for filtering, sorting, mapping, and grouping dishes, and covering core stream concepts, creation methods, intermediate and terminal operations.

CollectionsJavaLambda
0 likes · 16 min read
Simplifying Java Code with Stream API: From Filtering to Grouping
Code Ape Tech Column
Code Ape Tech Column
Dec 8, 2021 · Backend Development

Understanding Java 8 Stream API, Parallel Streams, and ForkJoinPool

This article explains Java 8 Stream API fundamentals, its composition, pipelining and internal iteration, details parallel stream execution using ForkJoinPool, discusses performance considerations, and provides practical code examples for creating and managing streams in backend development.

ForkJoinPoolJavaParallelism
0 likes · 19 min read
Understanding Java 8 Stream API, Parallel Streams, and ForkJoinPool
Selected Java Interview Questions
Selected Java Interview Questions
Nov 27, 2021 · Backend Development

Understanding Java Stream API: Operations, Characteristics, and Performance Compared to Iterator

This article introduces Java 8's Stream API, explains its intermediate and terminal operations, highlights its functional characteristics, compares its performance with traditional iterator loops through benchmark tests, and offers practical recommendations for using streams and parallel streams in backend development.

BackendBenchmarkIterator
0 likes · 12 min read
Understanding Java Stream API: Operations, Characteristics, and Performance Compared to Iterator
Code Ape Tech Column
Code Ape Tech Column
Nov 10, 2021 · Backend Development

Simplifying Collection Processing with Java 8 Stream API

This article demonstrates how Java 8's Stream API and lambda expressions can replace verbose pre‑Java 8 collection handling code with concise, readable functional pipelines for filtering, sorting, mapping, grouping, and aggregating data.

CollectionsJavaLambda
0 likes · 15 min read
Simplifying Collection Processing with Java 8 Stream API
Programmer DD
Programmer DD
Nov 9, 2021 · Backend Development

Explore Java 12: String Indent, Transform, File Mismatch, Teeing Collector

Java 12 introduces several practical enhancements—including String.indent for adjustable indentation, String.transform for functional string manipulation, Files.mismatch for byte-level file comparison, the new Collectors.teeing collector for combined stream reductions, and CompactNumberFormat for locale-aware compact number formatting—each illustrated with code examples.

JavaJava12Number Formatting
0 likes · 5 min read
Explore Java 12: String Indent, Transform, File Mismatch, Teeing Collector
Programmer DD
Programmer DD
Oct 2, 2021 · Fundamentals

What New APIs Does Java 9 Bring? Collections, Streams, Optional, and More

Java 9 introduces several notable enhancements—including immutable collection factories, expanded Stream operations like ofNullable, iterate, takeWhile, dropWhile, new Optional methods, simplified try‑with‑resources, private interface methods, a modern HttpClient, and preliminary Flow support—each illustrated with concise code examples for developers transitioning from earlier Java versions.

HttpClientJava 9Stream API
0 likes · 7 min read
What New APIs Does Java 9 Bring? Collections, Streams, Optional, and More
Java Architecture Diary
Java Architecture Diary
Sep 27, 2021 · Backend Development

Explore Java 17’s New Time Formatting, Stream toList, mapMulti, and HexFormat

This article walks through Java 17’s lesser‑known enhancements—including the “B” pattern for time‑of‑day formatting, the concise Stream.toList() method, the versatile mapMulti() operation with practical examples, and the new HexFormat utility for hex conversions—while highlighting related bug fixes and usage tips.

Backend DevelopmentHexFormatJava
0 likes · 9 min read
Explore Java 17’s New Time Formatting, Stream toList, mapMulti, and HexFormat
macrozheng
macrozheng
Sep 2, 2021 · Backend Development

Mastering Java 8 Stream API: 20 Real‑World Examples

This tutorial walks through Java 8 Stream and Lambda features, explaining stream concepts, intermediate and terminal operations, and demonstrating twenty practical examples—including creation, filtering, mapping, reduction, collection, sorting, and combining—using an employee class to illustrate each operation.

CollectionsJavaJava 8
0 likes · 27 min read
Mastering Java 8 Stream API: 20 Real‑World Examples
Code Ape Tech Column
Code Ape Tech Column
Aug 22, 2021 · Backend Development

Comprehensive Java 8 Stream API Guide with 20 Practical Examples

This article provides a thorough introduction to Java 8's Stream and Lambda features, presenting twenty detailed code examples that cover stream creation, intermediate operations such as filter, map, flatMap, reduce, collect, and terminal operations including sorting, grouping, and parallel processing, helping developers master functional-style collection handling in Java.

Code ExamplesCollectionsJava
0 likes · 24 min read
Comprehensive Java 8 Stream API Guide with 20 Practical Examples
Top Architect
Top Architect
Aug 1, 2021 · Backend Development

Comprehensive Guide to Java 8 Stream API with Practical Examples

This article provides an in‑depth tutorial on Java 8 Stream API, covering its concepts, creation methods, common operations such as filtering, mapping, reducing, collecting, sorting, and grouping, along with numerous runnable code examples that demonstrate how to process collections efficiently using streams.

CollectionsJavaJava 8
0 likes · 24 min read
Comprehensive Guide to Java 8 Stream API with Practical Examples
Code Ape Tech Column
Code Ape Tech Column
Jul 7, 2021 · Backend Development

Boost Java Stream Productivity with IntelliJ IDEA Live Templates

This guide explains how to use IntelliJ IDEA's Live Templates to streamline common Java Stream operations like toList, toSet, groupingBy, and joining, turning repetitive collector code into concise shortcuts that improve readability and development speed.

IntelliJ IDEAJavaJava Streams
0 likes · 6 min read
Boost Java Stream Productivity with IntelliJ IDEA Live Templates
Top Architect
Top Architect
Jul 1, 2021 · Fundamentals

Five Best Ways to Iterate a Java HashMap

This article demonstrates five optimal techniques for traversing a Java HashMap—including using an Iterator over the entry set or key set, a for‑each loop, Lambda expressions, and the Stream API—providing complete code examples and sample outputs for each method.

HashMapIteratorJava
0 likes · 7 min read
Five Best Ways to Iterate a Java HashMap
Top Architect
Top Architect
Jun 29, 2021 · Backend Development

Performance Comparison of Java Stream API vs Iterator and Recommendations

This article explains Java 8 Stream fundamentals, compares its intermediate and terminal operations with traditional iterator loops through a series of benchmark tests (mapping, filtering, sorting, reduction, string joining, and mixed operations), analyzes results for different data sizes and CPU configurations, and provides practical guidance on when to use Stream, parallel Stream, or iterator in backend development.

Backend DevelopmentBenchmarkIterator
0 likes · 12 min read
Performance Comparison of Java Stream API vs Iterator and Recommendations
Top Architect
Top Architect
Jun 7, 2021 · Backend Development

Comprehensive Guide to Java Stream API with Practical Examples

This article provides an in‑depth tutorial on Java 8 Stream API, covering creation, intermediate and terminal operations, filtering, mapping, reducing, collecting, grouping, sorting, and practical code examples for processing collections such as employee data.

CollectionsJavaJava 8
0 likes · 21 min read
Comprehensive Guide to Java Stream API with Practical Examples
21CTO
21CTO
May 23, 2021 · Backend Development

Unlock Java 9‑16: New APIs, Immutable Collections, and Stream Enhancements

This article introduces Java 9‑16 features such as factory methods for immutable collections, Optional.ifPresentOrElse, new Stream operations like takeWhile/dropWhile and toList, plus enhanced Duration and LocalDate utilities, providing concise, modern code patterns for developers.

DurationImmutable CollectionsJava
0 likes · 5 min read
Unlock Java 9‑16: New APIs, Immutable Collections, and Stream Enhancements
Programmer DD
Programmer DD
May 17, 2021 · Backend Development

Java Stream vs Iterator: Performance Benchmarks and Best Practices

This article explains Java 8 Stream fundamentals, compares intermediate and terminal operations, outlines stream characteristics and advantages over collections, and presents detailed benchmark results comparing Stream, parallel Stream, and traditional iterator across various data‑processing tasks.

BenchmarkIteratorJava
0 likes · 13 min read
Java Stream vs Iterator: Performance Benchmarks and Best Practices
Programmer DD
Programmer DD
May 9, 2021 · Backend Development

How Stream API Can Shrink Your Java Code from 24 Lines to 5

This article explains Java 8's Stream API, showing how to replace verbose pre‑Java‑8 collection processing with concise, declarative stream operations, covering stream creation, intermediate and terminal operations, and practical examples such as filtering, sorting, mapping, grouping, and aggregation.

JavaJava 8Lambda
0 likes · 15 min read
How Stream API Can Shrink Your Java Code from 24 Lines to 5
Architect's Tech Stack
Architect's Tech Stack
Apr 28, 2021 · Backend Development

Java 8 Lambda Expressions, Functional Interfaces, and Stream API Tutorial

This article introduces Java 8's lambda expressions and functional interfaces, demonstrates custom functional interfaces, and explains how to use the Stream API with operations such as collect, filter, map, flatMap, max/min, count, reduce, partitioningBy, groupingBy, and joining, providing code examples throughout.

CollectorsFunctional InterfacesJava
0 likes · 13 min read
Java 8 Lambda Expressions, Functional Interfaces, and Stream API Tutorial