Class MaybeEqualSingle<T>

  • Type Parameters:
    T - the common base type of the sources
    All Implemented Interfaces:
    SingleSource<java.lang.Boolean>

    public final class MaybeEqualSingle<T>
    extends Single<java.lang.Boolean>
    Compares two MaybeSources to see if they are both empty or emit the same value compared via a BiPredicate.
    • Method Detail

      • subscribeActual

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