Sample for Java 8