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,java.io.Serializable
- Enclosing class:
- FlowableSequenceEqualSingle<T>
static final class FlowableSequenceEqualSingle.EqualCoordinator<T> extends java.util.concurrent.atomic.AtomicInteger implements Disposable, FlowableSequenceEqual.EqualCoordinatorHelper
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BiPredicate<? super T,? super T>comparer(package private) SingleObserver<? super java.lang.Boolean>downstream(package private) AtomicThrowableerrors(package private) FlowableSequenceEqual.EqualSubscriber<T>first(package private) FlowableSequenceEqual.EqualSubscriber<T>secondprivate static longserialVersionUID(package private) Tv1(package private) Tv2
-
Constructor Summary
Constructors Constructor Description EqualCoordinator(SingleObserver<? super java.lang.Boolean> actual, int prefetch, BiPredicate<? super T,? super T> comparer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidcancelAndClear()voiddispose()Dispose the resource, the operation should be idempotent.voiddrain()voidinnerError(java.lang.Throwable t)booleanisDisposed()Returns 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, weakCompareAndSetVolatile
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
downstream
final SingleObserver<? super java.lang.Boolean> downstream
-
comparer
final BiPredicate<? super T,? super T> comparer
-
first
final FlowableSequenceEqual.EqualSubscriber<T> first
-
second
final FlowableSequenceEqual.EqualSubscriber<T> second
-
errors
final AtomicThrowable errors
-
v1
T v1
-
v2
T v2
-
-
Constructor Detail
-
EqualCoordinator
EqualCoordinator(SingleObserver<? super java.lang.Boolean> actual, int prefetch, BiPredicate<? super T,? super T> comparer)
-
-
Method Detail
-
subscribe
void subscribe(org.reactivestreams.Publisher<? extends T> source1, org.reactivestreams.Publisher<? extends T> source2)
-
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
public void innerError(java.lang.Throwable t)
- Specified by:
innerErrorin interfaceFlowableSequenceEqual.EqualCoordinatorHelper
-
-