docs: public final static <T, R> Stream<R> flatMapOptional(final Stream<T> stream, final Function<? super T, Optional<? extends R>> fn) {
          return stream.flatMap(in -> Streams.optionalToStream(fn.apply(in)));
  
      }