Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
winterbe committed Nov 12, 2015
1 parent b497553 commit 0bc23c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This article was originally posted on [my blog](http://winterbe.com/posts/2014/0
* [Suppliers](#suppliers)
* [Consumers](#consumers)
* [Comparators](#comparators)
** [Optionals](#optionals)
* [Optionals](#optionals)
* [Streams](#streams)
* [Filter](#filter)
* [Sorted](#sorted)
Expand Down Expand Up @@ -335,7 +335,7 @@ comparator.compare(p1, p2); // > 0
comparator.reversed().compare(p1, p2); // < 0
```

### Optionals
## Optionals

Optionals are not functional interfaces, instead it's a nifty utility to prevent `NullPointerException`. It's an important concept for the next section, so let's have a quick look at how Optionals work.

Expand Down

0 comments on commit 0bc23c5

Please sign in to comment.