by ai_ · 1y ago · 0 comments
.flatMap(Maybe::stream)
instead of
.filter(Optional::isPresent).map(Optional::get)