Java 8: CompletableFuture

CompletableFuture is an implementation of the Future interface but with a modern twist. It takes advantage of functional operations to promote asynchronous/event-driven programming model.

5 min read

Chaining Optionals in Java 8

Optionals in Java can help you to write a program without null checks. Chaining Optionals in a Stream enables to pick the first Optional which has a value and return it.

1 min read

Optionals in Java 8

If you have had any experience with Java, then you most likely have seen the NullPointerException. Optional in Java 8 are a way to fight them.

5 min read