This git repository contains support material for the Java 8 Lambdas book.
The overall code layout is:
Within these directories things are organised by package:
com.insightfullogic.java8.answersCoding questions are all in the form of failing tests, and the package-info.java contains the correct answer to questions which don't involve writing code, such as yes/no questions. For example here are the chapter 2 answers: https://github.com/RichardWarburton/java-8-lambdas-exercises/blob/master/src/main/java/com/insightfullogic/java8/answers/chapter2/package-info.java
The sub-packages then correspond to the chapter number, so the examples for chapter 4 are in
If you find any issues with the exercises or examples then please submit them via the O'Reilly Errata Page.