Java 1.8 lambda/stream conversion.