Skip to main content

4 docs tagged with "streams"

View all tags

Collectors

Java's built-in Collector implementations — toList, groupingBy, partitioningBy, joining, toMap, counting, and how to build custom collectors.

Parallel Streams

When parallel streams improve throughput, when they hurt, and how the ForkJoin common pool governs parallel execution.

Streams API

How Java streams work — pipeline anatomy, lazy evaluation, intermediate vs. terminal operations, and common pitfalls.