Java 8 lambda expression sample code for my IBM developerWorks article