Class SingleZipIterable<T,​R>

  • All Implemented Interfaces:
    SingleSource<R>

    public final class SingleZipIterable<T,​R>
    extends Single<R>
    • Field Detail

      • sources

        final java.lang.Iterable<? extends SingleSource<? extends T>> sources
      • zipper

        final Function<? super java.lang.Object[],​? extends R> zipper
    • Constructor Detail

      • SingleZipIterable

        public SingleZipIterable​(java.lang.Iterable<? extends SingleSource<? extends T>> sources,
                                 Function<? super java.lang.Object[],​? extends R> zipper)
    • Method Detail

      • subscribeActual

        protected void subscribeActual​(SingleObserver<? super R> observer)
        Description copied from class: Single
        Implement this method in subclasses to handle the incoming SingleObservers.

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

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