streams: Java Stream API + Collectors cookbook module (creation, laziness and short-circuiting, intermediate/terminal ops, Collectors recipes and toMap traps, primitive stream overflow, parallel traps, Gatherers on JDK 25, loop-to-stream conversion), 12 contract tests

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b49nGy7tcEjVUa3WAA
This commit is contained in:
Claude
2026-11-24 05:52:24 +05:30
parent 9c2ae10d7f
commit 74da9cd899
28 changed files with 831 additions and 0 deletions
+1
View File
@@ -36,6 +36,7 @@ article; each module's own README has that article's version table, quickstart,
| [`parallel-streams`](parallel-streams/) | Java Parallel Streams: When They're Slower (JMH Benchmarks and the Common Pool) |
| [`random`](random/) | Random vs ThreadLocalRandom vs SecureRandom vs RandomGenerator in Java |
| [`completablefuture`](completablefuture/) | CompletableFuture in Java: thenApply vs thenCompose, allOf, Exceptions and Timeouts (and When Virtual Threads Win) |
| [`streams`](streams/) | Java Stream API Tutorial with Examples + Collectors Cookbook (laziness, collectors, primitive and parallel streams, Gatherers) |
## License