Class FlowableSequenceEqualSingle.EqualCoordinator<T>
java.lang.Object
java.lang.Number
java.util.concurrent.atomic.AtomicInteger
io.reactivex.rxjava3.internal.operators.flowable.FlowableSequenceEqualSingle.EqualCoordinator<T>
- All Implemented Interfaces:
Disposable,FlowableSequenceEqual.EqualCoordinatorHelper,Serializable
- Enclosing class:
FlowableSequenceEqualSingle<T>
static final class FlowableSequenceEqualSingle.EqualCoordinator<T>
extends AtomicInteger
implements Disposable, FlowableSequenceEqual.EqualCoordinatorHelper
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final BiPredicate<? super T, ? super T> (package private) final SingleObserver<? super Boolean> (package private) final AtomicThrowable(package private) final FlowableSequenceEqual.EqualSubscriber<T> (package private) final FlowableSequenceEqual.EqualSubscriber<T> private static final long(package private) T(package private) T -
Constructor Summary
ConstructorsConstructorDescriptionEqualCoordinator(SingleObserver<? super Boolean> actual, int prefetch, BiPredicate<? super T, ? super T> comparer) -
Method Summary
Modifier and TypeMethodDescription(package private) voidvoiddispose()Dispose the resource, the operation should be idempotent.voiddrain()voidbooleanReturns true if this resource has been disposed.(package private) voidsubscribe(org.reactivestreams.Publisher<? extends T> source1, org.reactivestreams.Publisher<? extends T> source2) Methods inherited from class java.util.concurrent.atomic.AtomicInteger
accumulateAndGet, addAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAcquire, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, getOpaque, getPlain, incrementAndGet, intValue, lazySet, longValue, set, setOpaque, setPlain, setRelease, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatileMethods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
Constructor Details
-
EqualCoordinator
EqualCoordinator(SingleObserver<? super Boolean> actual, int prefetch, BiPredicate<? super T, ? super T> comparer)
-
-
Method Details
-
subscribe
-
dispose
public void dispose()Description copied from interface:DisposableDispose the resource, the operation should be idempotent.- Specified by:
disposein interfaceDisposable
-
isDisposed
public boolean isDisposed()Description copied from interface:DisposableReturns true if this resource has been disposed.- Specified by:
isDisposedin interfaceDisposable- Returns:
- true if this resource has been disposed
-
cancelAndClear
void cancelAndClear() -
drain
public void drain()- Specified by:
drainin interfaceFlowableSequenceEqual.EqualCoordinatorHelper
-
innerError
- Specified by:
innerErrorin interfaceFlowableSequenceEqual.EqualCoordinatorHelper
-