Top Inners Fields Constructors Methods
io.reactivex.internal.operators.flowable

public final Class FlowableSequenceEqualSingle<T>

extends Single<Boolean>
implements FuseToFlowable<Boolean>
Class Inheritance
All Implemented Interfaces
io.reactivex.internal.fuseable.FuseToFlowable
Imports
java.util.concurrent.atomic.AtomicInteger, org.reactivestreams.Publisher, io.reactivex.*, io.reactivex.disposables.Disposable, io.reactivex.exceptions.Exceptions, io.reactivex.functions.BiPredicate, io.reactivex.internal.fuseable.*, io.reactivex.internal.operators.flowable.FlowableSequenceEqual.*, io.reactivex.internal.subscriptions.SubscriptionHelper, io.reactivex.internal.util.AtomicThrowable, io.reactivex.plugins.RxJavaPlugins

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv final BiPredicate<? super T, ? super T>
pack-priv final Publisher<? extends T>
pack-priv final int
pack-priv final Publisher<? extends T>

Constructor Summary

AccessConstructor and Description
public
FlowableSequenceEqualSingle(Publisher<? extends T> first, Publisher<? extends T> second, BiPredicate<? super T, ? super T> comparer, int prefetch)

Method Summary

Modifier and TypeMethod and Description
public Flowable<Boolean>
fuseToFlowable()

Implements io.reactivex.internal.fuseable.FuseToFlowable.fuseToFlowable.

Returns a (direct) Flowable for the operator.
public void
subscribeActual(SingleObserver<? super Boolean>
the SingleObserver to handle, not null
observer
)

Implements abstract io.reactivex.Single.subscribeActual.

Implement this method in subclasses to handle the incoming SingleObservers.
Inherited from io.reactivex.Single:
ambambArrayambWithasblockingGetcachecastcomposeconcatconcatconcatconcatconcatconcatconcatconcatArrayconcatArrayEagerconcatEagerconcatEagerconcatWithcontainscontainscreatedeferdelaydelaydelaydelaydelaySubscriptiondelaySubscriptiondelaySubscriptiondelaySubscriptiondelaySubscriptiondelaySubscriptiondematerializedoAfterSuccessdoAfterTerminatedoFinallydoOnDisposedoOnErrordoOnEventdoOnSubscribedoOnSuccessdoOnTerminateequalserrorerrorfilterflatMapflatMapCompletableflatMapMaybeflatMapObservableflatMapPublisherflattenAsFlowableflattenAsObservablefromCallablefromFuturefromFuturefromFuturefromFuturefromObservablefromPublisherhideignoreElementjustliftmapmaterializemergemergemergemergemergemergemergeDelayErrormergeDelayErrormergeDelayErrormergeDelayErrormergeDelayErrormergeWithneverobserveOnonErrorResumeNextonErrorResumeNextonErrorReturnonErrorReturnItemonTerminateDetachrepeatrepeatrepeatUntilrepeatWhenretryretryretryretryretryretryWhensubscribesubscribesubscribesubscribesubscribesubscribeOnsubscribeWithtakeUntiltakeUntiltakeUntiltesttesttimeouttimeouttimeouttimeouttimertimertotoCompletabletoFlowabletoFuturetoMaybetoObservableunsafeCreateunsubscribeOnusingusingwrapzipzipzipzipzipzipzipzipzipzipArrayzipWith

Field Detail

comparerback to summary
pack-priv final BiPredicate<? super T, ? super T> comparer
firstback to summary
pack-priv final Publisher<? extends T> first
prefetchback to summary
pack-priv final int prefetch
secondback to summary
pack-priv final Publisher<? extends T> second

Constructor Detail

FlowableSequenceEqualSingleback to summary
public FlowableSequenceEqualSingle(Publisher<? extends T> first, Publisher<? extends T> second, BiPredicate<? super T, ? super T> comparer, int prefetch)

Method Detail

fuseToFlowableback to summary
public Flowable<Boolean> fuseToFlowable()

Implements io.reactivex.internal.fuseable.FuseToFlowable.fuseToFlowable.

Doc from io.reactivex.internal.fuseable.FuseToFlowable.fuseToFlowable.

Returns a (direct) Flowable for the operator.

The implementation should handle the necessary RxJavaPlugins wrapping.

Returns:Flowable<Boolean>

the Flowable instance

Annotations
@Override
subscribeActualback to summary
public void subscribeActual(SingleObserver<? super Boolean> observer)

Implements abstract io.reactivex.Single.subscribeActual.

Doc from io.reactivex.Single.subscribeActual.

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 subscribe(SingleObserver) before this method gets called.

Parameters
observer:SingleObserver<? super Boolean>

the SingleObserver to handle, not null

Annotations
@Override
io.reactivex.internal.operators.flowable back to summary

pack-priv final Class FlowableSequenceEqualSingle.EqualCoordinator<T>

extends AtomicInteger
implements Disposable, EqualCoordinatorHelper
Class Inheritance
All Implemented Interfaces
io.reactivex.internal.operators.flowable.FlowableSequenceEqual.EqualCoordinatorHelper, io.reactivex.disposables.Disposable

Field Summary

Modifier and TypeField and Description
pack-priv final BiPredicate<? super T, ? super T>
pack-priv final SingleObserver<? super Boolean>
pack-priv final AtomicThrowable
pack-priv final FlowableSequenceEqual.EqualSubscriber<T>
pack-priv final FlowableSequenceEqual.EqualSubscriber<T>
private static final long
pack-priv T
pack-priv T

Constructor Summary

AccessConstructor and Description
pack-priv
EqualCoordinator(SingleObserver<? super Boolean> actual, int prefetch, BiPredicate<? super T, ? super T> comparer)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
public void
dispose()

Implements io.reactivex.disposables.Disposable.dispose.

Dispose the resource, the operation should be idempotent.
public void
public void
public boolean
isDisposed()

Implements io.reactivex.disposables.Disposable.isDisposed.

Returns true if this resource has been disposed.
pack-priv void
subscribe(Publisher<? extends T> source1, Publisher<? extends T> source2)

Inherited from java.util.concurrent.atomic.AtomicInteger:
accumulateAndGetaddAndGetcompareAndExchangecompareAndExchangeAcquirecompareAndExchangeReleasecompareAndSetdecrementAndGetdoubleValuefloatValuegetgetAcquiregetAndAccumulategetAndAddgetAndDecrementgetAndIncrementgetAndSetgetAndUpdategetOpaquegetPlainincrementAndGetintValuelazySetlongValuesetsetOpaquesetPlainsetReleasetoStringupdateAndGetweakCompareAndSetweakCompareAndSetAcquireweakCompareAndSetPlainweakCompareAndSetReleaseweakCompareAndSetVolatile

Field Detail

comparerback to summary
pack-priv final BiPredicate<? super T, ? super T> comparer
downstreamback to summary
pack-priv final SingleObserver<? super Boolean> downstream
errorback to summary
pack-priv final AtomicThrowable error
firstback to summary
pack-priv final FlowableSequenceEqual.EqualSubscriber<T> first
secondback to summary
pack-priv final FlowableSequenceEqual.EqualSubscriber<T> second
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.concurrent.atomic.AtomicInteger.serialVersionUID.

v1back to summary
pack-priv T v1
v2back to summary
pack-priv T v2

Constructor Detail

EqualCoordinatorback to summary
pack-priv EqualCoordinator(SingleObserver<? super Boolean> actual, int prefetch, BiPredicate<? super T, ? super T> comparer)

Method Detail

cancelAndClearback to summary
pack-priv void cancelAndClear()
disposeback to summary
public void dispose()

Implements io.reactivex.disposables.Disposable.dispose.

Doc from io.reactivex.disposables.Disposable.dispose.

Dispose the resource, the operation should be idempotent.

Annotations
@Override
drainback to summary
public void drain()

Implements io.reactivex.internal.operators.flowable.FlowableSequenceEqual.EqualCoordinatorHelper.drain.

Annotations
@Override
innerErrorback to summary
public void innerError(Throwable t)

Implements io.reactivex.internal.operators.flowable.FlowableSequenceEqual.EqualCoordinatorHelper.innerError.

Annotations
@Override
isDisposedback to summary
public boolean isDisposed()

Implements io.reactivex.disposables.Disposable.isDisposed.

Doc from io.reactivex.disposables.Disposable.isDisposed.

Returns true if this resource has been disposed.

Returns:boolean

true if this resource has been disposed

Annotations
@Override
subscribeback to summary
pack-priv void subscribe(Publisher<? extends T> source1, Publisher<? extends T> source2)