Samples code of new Java 8 features.