Class ObservableSequenceEqualSingle<T>
- java.lang.Object
-
- io.reactivex.rxjava3.core.Single<java.lang.Boolean>
-
- io.reactivex.rxjava3.internal.operators.observable.ObservableSequenceEqualSingle<T>
-
- All Implemented Interfaces:
SingleSource<java.lang.Boolean>
,FuseToObservable<java.lang.Boolean>
public final class ObservableSequenceEqualSingle<T> extends Single<java.lang.Boolean> implements FuseToObservable<java.lang.Boolean>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ObservableSequenceEqualSingle.EqualCoordinator<T>
(package private) static class
ObservableSequenceEqualSingle.EqualObserver<T>
-
Field Summary
Fields Modifier and Type Field Description (package private) int
bufferSize
(package private) BiPredicate<? super T,? super T>
comparer
(package private) ObservableSource<? extends T>
first
(package private) ObservableSource<? extends T>
second
-
Constructor Summary
Constructors Constructor Description ObservableSequenceEqualSingle(ObservableSource<? extends T> first, ObservableSource<? extends T> second, BiPredicate<? super T,? super T> comparer, int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Observable<java.lang.Boolean>
fuseToObservable()
Returns a (direct) Observable for the operator.void
subscribeActual(SingleObserver<? super java.lang.Boolean> observer)
Implement this method in subclasses to handle the incomingSingleObserver
s.-
Methods inherited from class io.reactivex.rxjava3.core.Single
amb, ambArray, ambWith, blockingGet, blockingSubscribe, blockingSubscribe, blockingSubscribe, blockingSubscribe, cache, cast, compose, concat, concat, concat, concat, concat, concat, concat, concatArray, concatArrayDelayError, concatArrayEager, concatArrayEagerDelayError, concatDelayError, concatDelayError, concatDelayError, concatEager, concatEager, concatEager, concatEager, concatEagerDelayError, concatEagerDelayError, concatEagerDelayError, concatEagerDelayError, concatMap, concatMapCompletable, concatMapMaybe, concatWith, contains, contains, create, defer, delay, delay, delay, delay, delaySubscription, delaySubscription, delaySubscription, delaySubscription, delaySubscription, delaySubscription, dematerialize, doAfterSuccess, doAfterTerminate, doFinally, doOnDispose, doOnError, doOnEvent, doOnLifecycle, doOnSubscribe, doOnSuccess, doOnTerminate, error, error, filter, flatMap, flatMap, flatMap, flatMapCompletable, flatMapMaybe, flatMapObservable, flatMapPublisher, flattenAsFlowable, flattenAsObservable, flattenStreamAsFlowable, flattenStreamAsObservable, fromCallable, fromCompletionStage, fromFuture, fromFuture, fromMaybe, fromMaybe, fromObservable, fromPublisher, fromSupplier, hide, ignoreElement, just, lift, map, mapOptional, materialize, merge, merge, merge, merge, merge, merge, mergeArray, mergeArrayDelayError, mergeDelayError, mergeDelayError, mergeDelayError, mergeDelayError, mergeDelayError, mergeWith, never, observeOn, ofType, onErrorComplete, onErrorComplete, onErrorResumeNext, onErrorResumeWith, onErrorReturn, onErrorReturnItem, onTerminateDetach, repeat, repeat, repeatUntil, repeatWhen, retry, retry, retry, retry, retry, retryUntil, retryWhen, safeSubscribe, sequenceEqual, startWith, startWith, startWith, startWith, startWith, subscribe, subscribe, subscribe, subscribe, subscribe, subscribe, subscribeOn, subscribeWith, switchOnNext, switchOnNextDelayError, takeUntil, takeUntil, takeUntil, test, test, timeInterval, timeInterval, timeInterval, timeInterval, timeout, timeout, timeout, timeout, timer, timer, timestamp, timestamp, timestamp, timestamp, to, toCompletionStage, toFlowable, toFuture, toMaybe, toObservable, unsafeCreate, unsubscribeOn, using, using, wrap, zip, zip, zip, zip, zip, zip, zip, zip, zip, zipArray, zipWith
-
-
-
-
Field Detail
-
first
final ObservableSource<? extends T> first
-
second
final ObservableSource<? extends T> second
-
comparer
final BiPredicate<? super T,? super T> comparer
-
bufferSize
final int bufferSize
-
-
Constructor Detail
-
ObservableSequenceEqualSingle
public ObservableSequenceEqualSingle(ObservableSource<? extends T> first, ObservableSource<? extends T> second, BiPredicate<? super T,? super T> comparer, int bufferSize)
-
-
Method Detail
-
subscribeActual
public void subscribeActual(SingleObserver<? super java.lang.Boolean> observer)
Description copied from class:Single
Implement this method in subclasses to handle the incomingSingleObserver
s.There is no need to call any of the plugin hooks on the current
Single
instance or theSingleObserver
; all hooks and basic safeguards have been applied bySingle.subscribe(SingleObserver)
before this method gets called.- Specified by:
subscribeActual
in classSingle<java.lang.Boolean>
- Parameters:
observer
- theSingleObserver
to handle, notnull
-
fuseToObservable
public Observable<java.lang.Boolean> 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 interfaceFuseToObservable<T>
- Returns:
- the Observable instance
-
-