Class MaybeFlatMapBiSelector<T,U,R>

java.lang.Object
io.reactivex.rxjava3.core.Maybe<R>
io.reactivex.rxjava3.internal.operators.maybe.AbstractMaybeWithUpstream<T,R>
io.reactivex.rxjava3.internal.operators.maybe.MaybeFlatMapBiSelector<T,U,R>
Type Parameters:
T - the main value type
U - the second value type
R - the result value type
All Implemented Interfaces:
MaybeSource<R>, HasUpstreamMaybeSource<T>

public final class MaybeFlatMapBiSelector<T,U,R> extends AbstractMaybeWithUpstream<T,R>
Maps a source item to another MaybeSource then calls a BiFunction with the original item and the secondary item to generate the final result.
  • Field Details

  • Constructor Details

  • Method Details

    • subscribeActual

      protected void subscribeActual(MaybeObserver<? super R> observer)
      Description copied from class: Maybe
      Implement this method in subclasses to handle the incoming MaybeObservers.

      There is no need to call any of the plugin hooks on the current Maybe instance or the MaybeObserver; all hooks and basic safeguards have been applied by Maybe.subscribe(MaybeObserver) before this method gets called.

      Specified by:
      subscribeActual in class Maybe<R>
      Parameters:
      observer - the MaybeObserver to handle, not null