Samples of new java 8 features