Yeah I don't get the iterator thing either... Saw the implementation and I'm not sure what the usecase would be.
They have essentially implement a single element iterator for Some and a zero element iterator for None.
They have essentially implement a single element iterator for Some and a zero element iterator for None.
.flatMap(Maybe::stream)
instead of
.filter(Optional::isPresent).map(Optional::get)