examples for Java 8 new features