Package fr.univtln.bruno.samples.java101.tp3.functional
package fr.univtln.bruno.samples.java101.tp3.functional
Functional programming examples (Streams) applied to Collections: stream creation, intermediate and terminal operations,
collectors and parallel stream warnings. These examples complement the Collections topics and assume familiarity
with lambdas and method references.
-
ClassesClassDescriptionApplied functional examples that operate on collections using the Stream API.Collector-focused examples: grouping, partitioning, joining, summarizing and reduction.Small helpers showing how to debug stream pipelines: peek, sampling and safe terminal operations.Stream-based deduplication examples: utility class with static methods.Examples demonstrating groupingBy / partitioningBy and how to display grouped results.Combined mapping and sorting examples for stream pipelines applied to collections.Examples demonstrating parallel streams usage and common pitfalls.Basic Stream API examples focused on collections: creation, intermediate operations and common idioms.