This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use the two-argument form partitioningBy(predicate, downstream) to transform each partition, like counting or summing instead of collecting to lists.
You've completed the free preview. Subscribe to unlock every lesson in every course.