final class io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver<T> implements io.reactivex.SingleObserver<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver
super_class: java.lang.Object
{
final io.reactivex.disposables.CompositeDisposable set;
descriptor: Lio/reactivex/disposables/CompositeDisposable;
flags: (0x0010) ACC_FINAL
final io.reactivex.SingleObserver<? super T> downstream;
descriptor: Lio/reactivex/SingleObserver;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/SingleObserver<-TT;>;
final java.util.concurrent.atomic.AtomicBoolean winner;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0010) ACC_FINAL
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
void <init>(io.reactivex.SingleObserver<? super T>, io.reactivex.disposables.CompositeDisposable, java.util.concurrent.atomic.AtomicBoolean);
descriptor: (Lio/reactivex/SingleObserver;Lio/reactivex/disposables/CompositeDisposable;Ljava/util/concurrent/atomic/AtomicBoolean;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.downstream:Lio/reactivex/SingleObserver;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
3: aload 0
aload 3
putfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.winner:Ljava/util/concurrent/atomic/AtomicBoolean;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/single/SingleAmb$AmbSingleObserver<TT;>;
0 5 1 observer Lio/reactivex/SingleObserver<-TT;>;
0 5 2 set Lio/reactivex/disposables/CompositeDisposable;
0 5 3 winner Ljava/util/concurrent/atomic/AtomicBoolean;
Signature: (Lio/reactivex/SingleObserver<-TT;>;Lio/reactivex/disposables/CompositeDisposable;Ljava/util/concurrent/atomic/AtomicBoolean;)V
MethodParameters:
Name Flags
observer
set
winner
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.upstream:Lio/reactivex/disposables/Disposable;
1: aload 0
getfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
aload 1
invokevirtual io.reactivex.disposables.CompositeDisposable.add:(Lio/reactivex/disposables/Disposable;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/single/SingleAmb$AmbSingleObserver<TT;>;
0 3 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public void onSuccess();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.winner:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 4
1: aload 0
getfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
aload 0
getfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.upstream:Lio/reactivex/disposables/Disposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
2: aload 0
getfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
3: aload 0
getfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.downstream:Lio/reactivex/SingleObserver;
aload 1
invokeinterface io.reactivex.SingleObserver.onSuccess:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/single/SingleAmb$AmbSingleObserver<TT;>;
0 5 1 value TT;
Signature: (TT;)V
MethodParameters:
Name Flags
value
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.winner:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 5
1: aload 0
getfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
aload 0
getfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.upstream:Lio/reactivex/disposables/Disposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
2: aload 0
getfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.set:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
3: aload 0
getfield io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver.downstream:Lio/reactivex/SingleObserver;
aload 1
invokeinterface io.reactivex.SingleObserver.onError:(Ljava/lang/Throwable;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/single/SingleAmb$AmbSingleObserver<TT;>;
0 7 1 e Ljava/lang/Throwable;
MethodParameters:
Name Flags
e
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lio/reactivex/SingleObserver<TT;>;
SourceFile: "SingleAmb.java"
NestHost: io.reactivex.internal.operators.single.SingleAmb
InnerClasses:
final AmbSingleObserver = io.reactivex.internal.operators.single.SingleAmb$AmbSingleObserver of io.reactivex.internal.operators.single.SingleAmb