final class io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver<T> extends java.util.concurrent.atomic.AtomicBoolean implements io.reactivex.Observer<T>, io.reactivex.disposables.Disposable, java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver
super_class: java.util.concurrent.atomic.AtomicBoolean
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3366976432059579510
final io.reactivex.Observer<? super io.reactivex.Observable<T>> downstream;
descriptor: Lio/reactivex/Observer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;
final long count;
descriptor: J
flags: (0x0010) ACC_FINAL
final long skip;
descriptor: J
flags: (0x0010) ACC_FINAL
final int capacityHint;
descriptor: I
flags: (0x0010) ACC_FINAL
final java.util.ArrayDeque<io.reactivex.subjects.UnicastSubject<T>> windows;
descriptor: Ljava/util/ArrayDeque;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/ArrayDeque<Lio/reactivex/subjects/UnicastSubject<TT;>;>;
long index;
descriptor: J
flags: (0x0000)
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
long firstEmission;
descriptor: J
flags: (0x0000)
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
final java.util.concurrent.atomic.AtomicInteger wip;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0010) ACC_FINAL
void <init>(io.reactivex.Observer<? super io.reactivex.Observable<T>>, long, long, );
descriptor: (Lio/reactivex/Observer;JJI)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.wip:Ljava/util/concurrent/atomic/AtomicInteger;
2: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.downstream:Lio/reactivex/Observer;
3: aload 0
lload 2
putfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.count:J
4: aload 0
lload 4
putfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.skip:J
5: aload 0
iload 6
putfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.capacityHint:I
6: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.windows:Ljava/util/ArrayDeque;
7: return
end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/observable/ObservableWindow$WindowSkipObserver<TT;>;
0 8 1 actual Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;
0 8 2 count J
0 8 4 skip J
0 8 6 capacityHint I
Signature: (Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;JJI)V
MethodParameters:
Name Flags
actual
count
skip
capacityHint
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.ObservableWindow$WindowSkipObserver.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.ObservableWindow$WindowSkipObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.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/ObservableWindow$WindowSkipObserver<TT;>;
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=5, locals=11, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.windows:Ljava/util/ArrayDeque;
astore 2
start local 2 1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.index:J
lstore 3
start local 3 2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.skip:J
lstore 5
start local 5 3: lload 3
lload 5
lrem
lconst_0
lcmp
ifne 8
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.cancelled:Z
ifne 8
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.wip:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.getAndIncrement:()I
pop
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.capacityHint:I
aload 0
invokestatic io.reactivex.subjects.UnicastSubject.create:(ILjava/lang/Runnable;)Lio/reactivex/subjects/UnicastSubject;
astore 7
start local 7 6: aload 2
aload 7
invokevirtual java.util.ArrayDeque.offer:(Ljava/lang/Object;)Z
pop
7: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.downstream:Lio/reactivex/Observer;
aload 7
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
end local 7 8: StackMap locals: java.util.ArrayDeque long long
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.firstEmission:J
lconst_1
ladd
lstore 7
start local 7 9: aload 2
invokevirtual java.util.ArrayDeque.iterator:()Ljava/util/Iterator;
astore 10
goto 12
StackMap locals: io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver java.lang.Object java.util.ArrayDeque long long long top java.util.Iterator
StackMap stack:
10: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.reactivex.subjects.UnicastSubject
astore 9
start local 9 11: aload 9
aload 1
invokevirtual io.reactivex.subjects.UnicastSubject.onNext:(Ljava/lang/Object;)V
end local 9 12: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: lload 7
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.count:J
lcmp
iflt 20
14: aload 2
invokevirtual java.util.ArrayDeque.poll:()Ljava/lang/Object;
checkcast io.reactivex.subjects.UnicastSubject
invokevirtual io.reactivex.subjects.UnicastSubject.onComplete:()V
15: aload 2
invokevirtual java.util.ArrayDeque.isEmpty:()Z
ifeq 18
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.cancelled:Z
ifeq 18
16: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
17: return
18: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver java.lang.Object java.util.ArrayDeque long long long
StackMap stack:
aload 0
lload 7
lload 5
lsub
putfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.firstEmission:J
19: goto 21
20: StackMap locals:
StackMap stack:
aload 0
lload 7
putfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.firstEmission:J
21: StackMap locals:
StackMap stack:
aload 0
lload 3
lconst_1
ladd
putfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.index:J
22: return
end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lio/reactivex/internal/operators/observable/ObservableWindow$WindowSkipObserver<TT;>;
0 23 1 t TT;
1 23 2 ws Ljava/util/ArrayDeque<Lio/reactivex/subjects/UnicastSubject<TT;>;>;
2 23 3 i J
3 23 5 s J
6 8 7 w Lio/reactivex/subjects/UnicastSubject<TT;>;
9 23 7 c J
11 12 9 w Lio/reactivex/subjects/UnicastSubject<TT;>;
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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.windows:Ljava/util/ArrayDeque;
astore 2
start local 2 1: goto 3
2: StackMap locals: java.util.ArrayDeque
StackMap stack:
aload 2
invokevirtual java.util.ArrayDeque.poll:()Ljava/lang/Object;
checkcast io.reactivex.subjects.UnicastSubject
aload 1
invokevirtual io.reactivex.subjects.UnicastSubject.onError:(Ljava/lang/Throwable;)V
3: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.ArrayDeque.isEmpty:()Z
ifeq 2
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableWindow$WindowSkipObserver<TT;>;
0 6 1 t Ljava/lang/Throwable;
1 6 2 ws Ljava/util/ArrayDeque<Lio/reactivex/subjects/UnicastSubject<TT;>;>;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.windows:Ljava/util/ArrayDeque;
astore 1
start local 1 1: goto 3
2: StackMap locals: java.util.ArrayDeque
StackMap stack:
aload 1
invokevirtual java.util.ArrayDeque.poll:()Ljava/lang/Object;
checkcast io.reactivex.subjects.UnicastSubject
invokevirtual io.reactivex.subjects.UnicastSubject.onComplete:()V
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.ArrayDeque.isEmpty:()Z
ifeq 2
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableWindow$WindowSkipObserver<TT;>;
1 6 1 ws Ljava/util/ArrayDeque<Lio/reactivex/subjects/UnicastSubject<TT;>;>;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.cancelled:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableWindow$WindowSkipObserver<TT;>;
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.ObservableWindow$WindowSkipObserver.cancelled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableWindow$WindowSkipObserver<TT;>;
public void run();
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.ObservableWindow$WindowSkipObserver.wip:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
ifne 3
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.cancelled:Z
ifeq 3
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableWindow$WindowSkipObserver<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicBoolean;Lio/reactivex/Observer<TT;>;Lio/reactivex/disposables/Disposable;Ljava/lang/Runnable;
SourceFile: "ObservableWindow.java"
NestHost: io.reactivex.internal.operators.observable.ObservableWindow
InnerClasses:
final WindowSkipObserver = io.reactivex.internal.operators.observable.ObservableWindow$WindowSkipObserver of io.reactivex.internal.operators.observable.ObservableWindow