0Pricing
Java Academy · Lesson

Collectors & Grouping

Learn how to collect Stream results and group data.

Intro

Collectors gather Stream results into containers. Grouping organizes items by category.

toList

Collectors.toList() gathers Stream elements into a List.

All lessons in this course

  1. Stream Sources
  2. map/filter/reduce
  3. Collectors & Grouping
← Back to Java Academy