Hacker News new | ask | show | jobs
by dack 4671 days ago
If you use Guava, you even get Optional<T> for Java. It works pretty well, but is obviously something you have to work into your API and can't easily use after the fact.