The JDK's collection framework is radically overhauled in Java 8: it
has bulk operations that take functions and apply them to all elements
in a collection. The session provides an overview of the new operations
and some insight into their inner workings. The centerpiece of the
new API is the interface java.util.stream.Stream. We will explore
what streams are, how they differ from collections, how their operations
are executed (in parallel or sequentially), why some operations are intermediate
and others terminal, why most operations are stateless, and what fluent
programming is.
|