Examples from the book Functional Programming in Java: Harnessing the Power of Java 8 Lambda Expressions