Maurice Naftalin — Is Your Code Parallel-Ready?

The Stream API is set to become as important in the future as the Collections API is today. But to make good use of it, we have to understand the basis of its design in the idea of “parallel-ready code,” how that idea leads to the new idioms of the Stream API, and how Collectors square the circle that combines parallel execution with mutable data structures.

This presentation ends with a practical payoff—it takes some typical collection processing problems and shows systematically how to choose the best stream processing solution for each.

  1. Maurice Naftalin
    A programmer and a teacher of programmers. He has been a developer, researcher and teacher in the software industry for several decades. He is co-author of "Java Generics and Collections" (O'Reilly, 2006), and author of "Mastering Lambdas: Java Programming in a Multicore World" (Oracle Press, forthcoming). @mauricenaftalin