CrimsonLogic Interview Question

Java 8 new features , then they asked me to explain the code