The Java8 Optional Class
Just two links to interesting articles about correctly using the class java.util.Optional which was added to Java in version 1.8..
- Nicolai Parlog/codefx: Java 8’s New Type Optional - an interesting blog series (particularly part 3)
- Oracle Technetwork: Tired of Null Pointer Exceptions?
Update: while reading an article on Java9 and Jigsaw, I came across the following list of references to articles that are less than enthusiastic about the Optional class (or at least recommend it be used sparingly):