Added Java 8 example.