List of Listings
Chapter 2. Passing code with behavior parameterization
Listing 2.1. Behavior parameterization: filtering apples with predicates
Chapter 3. Lambda expressions
Listing 3.1. Valid lambda expressions in Java 8
Listing 3.2. Working with a Predicate
Chapter 4. Introducing streams
Listing 4.1. Collections: external iteration with a for-each loop
Listing 4.2. Collections: external iteration using an iterator behind the scenes
Chapter 5. Working with streams
Listing 5.1. Finds all transactions in 2011 and sort by value (small to high)
Listing 5.2. What are all the unique cities where the traders work?
Get Modern Java in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.