final class io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver<T, U> implements io.reactivex.Observer<T>, io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver
super_class: java.lang.Object
{
final io.reactivex.Observer<? super T> downstream;
descriptor: Lio/reactivex/Observer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/Observer<-TT;>;
final io.reactivex.functions.Function<? super T, ? extends io.reactivex.ObservableSource<U>> debounceSelector;
descriptor: Lio/reactivex/functions/Function;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Function<-TT;+Lio/reactivex/ObservableSource<TU;>;>;
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
final java.util.concurrent.atomic.AtomicReference<io.reactivex.disposables.Disposable> debouncer;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;
volatile long index;
descriptor: J
flags: (0x0040) ACC_VOLATILE
boolean done;
descriptor: Z
flags: (0x0000)
void <init>(io.reactivex.Observer<? super T>, io.reactivex.functions.Function<? super T, ? extends io.reactivex.ObservableSource<U>>);
descriptor: (Lio/reactivex/Observer;Lio/reactivex/functions/Function;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.debouncer:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.downstream:Lio/reactivex/Observer;
3: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.debounceSelector:Lio/reactivex/functions/Function;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/observable/ObservableDebounce$DebounceObserver<TT;TU;>;
0 5 1 actual Lio/reactivex/Observer<-TT;>;
0 5 2 debounceSelector Lio/reactivex/functions/Function<-TT;+Lio/reactivex/ObservableSource<TU;>;>;
Signature: (Lio/reactivex/Observer<-TT;>;Lio/reactivex/functions/Function<-TT;+Lio/reactivex/ObservableSource<TU;>;>;)V
MethodParameters:
Name Flags
actual
debounceSelector
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
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.upstream:Lio/reactivex/disposables/Disposable;
aload 1
invokestatic io.reactivex.internal.disposables.DisposableHelper.validate:(Lio/reactivex/disposables/Disposable;Lio/reactivex/disposables/Disposable;)Z
ifeq 3
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.downstream:Lio/reactivex/Observer;
aload 0
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableDebounce$DebounceObserver<TT;TU;>;
0 4 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.index:J
lconst_1
ladd
lstore 2
start local 2 3: aload 0
lload 2
putfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.index:J
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.debouncer:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.disposables.Disposable
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 4
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
7: StackMap locals: long io.reactivex.disposables.Disposable
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.debounceSelector:Lio/reactivex/functions/Function;
aload 1
invokeinterface io.reactivex.functions.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.ObservableSource
ldc "The ObservableSource supplied is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.reactivex.ObservableSource
astore 5
start local 5 8: goto 14
end local 5 StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 6
start local 6 10: aload 6
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
11: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.dispose:()V
12: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.downstream:Lio/reactivex/Observer;
aload 6
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
13: return
end local 6 start local 5 14: StackMap locals: io.reactivex.ObservableSource
StackMap stack:
new io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver$DebounceInnerObserver
dup
aload 0
lload 2
aload 1
invokespecial io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver$DebounceInnerObserver.<init>:(Lio/reactivex/internal/operators/observable/ObservableDebounce$DebounceObserver;JLjava/lang/Object;)V
astore 6
start local 6 15: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.debouncer:Ljava/util/concurrent/atomic/AtomicReference;
aload 4
aload 6
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 17
16: aload 5
aload 6
invokeinterface io.reactivex.ObservableSource.subscribe:(Lio/reactivex/Observer;)V
17: StackMap locals: io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver$DebounceInnerObserver
StackMap stack:
return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/internal/operators/observable/ObservableDebounce$DebounceObserver<TT;TU;>;
0 18 1 t TT;
3 18 2 idx J
5 18 4 d Lio/reactivex/disposables/Disposable;
8 9 5 p Lio/reactivex/ObservableSource<TU;>;
14 18 5 p Lio/reactivex/ObservableSource<TU;>;
10 14 6 e Ljava/lang/Throwable;
15 18 6 dis Lio/reactivex/internal/operators/observable/ObservableDebounce$DebounceObserver$DebounceInnerObserver<TT;TU;>;
Exception table:
from to target type
7 8 9 Class java.lang.Throwable
Signature: (TT;)V
MethodParameters:
Name Flags
t
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.debouncer:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/observable/ObservableDebounce$DebounceObserver<TT;TU;>;
0 3 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.done:Z
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.debouncer:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.disposables.Disposable
astore 1
start local 1 4: aload 1
getstatic io.reactivex.internal.disposables.DisposableHelper.DISPOSED:Lio/reactivex/internal/disposables/DisposableHelper;
if_acmpeq 10
5: aload 1
checkcast io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver$DebounceInnerObserver
astore 2
start local 2 6: aload 2
ifnull 8
7: aload 2
invokevirtual io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver$DebounceInnerObserver.emit:()V
8: StackMap locals: io.reactivex.disposables.Disposable io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver$DebounceInnerObserver
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.debouncer:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
9: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/internal/operators/observable/ObservableDebounce$DebounceObserver<TT;TU;>;
4 11 1 d Lio/reactivex/disposables/Disposable;
6 10 2 dis Lio/reactivex/internal/operators/observable/ObservableDebounce$DebounceObserver$DebounceInnerObserver<TT;TU;>;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.debouncer:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/observable/ObservableDebounce$DebounceObserver<TT;TU;>;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.isDisposed:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableDebounce$DebounceObserver<TT;TU;>;
void emit(long, );
descriptor: (JLjava/lang/Object;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: lload 1
aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.index:J
lcmp
ifne 2
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver.downstream:Lio/reactivex/Observer;
aload 3
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/observable/ObservableDebounce$DebounceObserver<TT;TU;>;
0 3 1 idx J
0 3 3 value TT;
Signature: (JTT;)V
MethodParameters:
Name Flags
idx
value
}
Signature: <T:Ljava/lang/Object;U:Ljava/lang/Object;>Ljava/lang/Object;Lio/reactivex/Observer<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableDebounce.java"
NestHost: io.reactivex.internal.operators.observable.ObservableDebounce
InnerClasses:
final DebounceObserver = io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver of io.reactivex.internal.operators.observable.ObservableDebounce
final DebounceInnerObserver = io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver$DebounceInnerObserver of io.reactivex.internal.operators.observable.ObservableDebounce$DebounceObserver