Class ObservableCountSingle<T>

java.lang.Object
io.reactivex.rxjava3.core.Single<Long>
io.reactivex.rxjava3.internal.operators.observable.ObservableCountSingle<T>
All Implemented Interfaces:
SingleSource<Long>, FuseToObservable<Long>

public final class ObservableCountSingle<T> extends Single<Long> implements FuseToObservable<Long>
  • Field Details

  • Constructor Details

  • Method Details

    • subscribeActual

      public void subscribeActual(SingleObserver<? super Long> t)
      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<Long>
      Parameters:
      t - the SingleObserver to handle, not null
    • fuseToObservable

      public Observable<Long> fuseToObservable()
      Description copied from interface: FuseToObservable
      Returns a (direct) Observable for the operator.

      The implementation should handle the necessary RxJavaPlugins wrapping.

      Specified by:
      fuseToObservable in interface FuseToObservable<T>
      Returns:
      the Observable instance