Java 8 example added.