Samples of functional style programming with Java 8.