Three examples of Java 8 new features in language and APIs.