Returns a Maybe that is based on applying a specified function to the item emitted by the current Single, where that function returns a MaybeSource. <img width="640" height="191" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.flatMapMaybe.png
(@NonNull Function<? super T, ? extends MaybeSource<? extends R>> mapper)
| 3474 | * @see <a href="http://reactivex.io/documentation/operators/flatmap.html">ReactiveX operators documentation: FlatMap</a> |
| 3475 | */ |
| 3476 | @CheckReturnValue |
| 3477 | @NonNull |
| 3478 | @SchedulerSupport(SchedulerSupport.NONE) |
| 3479 | public final <@NonNull R> Maybe<R> flatMapMaybe(@NonNull Function<? super T, ? extends MaybeSource<? extends R>> mapper) { |
| 3480 | Objects.requireNonNull(mapper, "mapper is null"); |
| 3481 | return RxJavaPlugins.onAssembly(new SingleFlatMapMaybe<>(this, mapper)); |
| 3482 | } |
| 3483 | |
| 3484 | /** |
| 3485 | * Returns a {@link Flowable} that emits items based on applying a specified function to the item emitted by the |