Class SingleNever

  • All Implemented Interfaces:
    SingleSource<java.lang.Object>

    public final class SingleNever
    extends Single<java.lang.Object>
    • Field Detail

      • INSTANCE

        public static final Single<java.lang.Object> INSTANCE
    • Constructor Detail

      • SingleNever

        private SingleNever()
    • Method Detail

      • subscribeActual

        protected void subscribeActual​(SingleObserver<? super java.lang.Object> 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<java.lang.Object>
        Parameters:
        observer - the SingleObserver to handle, not null