final class io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver<T, B, V> extends io.reactivex.internal.observers.QueueDrainObserver<T, java.lang.Object, io.reactivex.Observable<T>> implements io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver
super_class: io.reactivex.internal.observers.QueueDrainObserver
{
final io.reactivex.ObservableSource<B> open;
descriptor: Lio/reactivex/ObservableSource;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/ObservableSource<TB;>;
final io.reactivex.functions.Function<? super B, ? extends io.reactivex.ObservableSource<V>> close;
descriptor: Lio/reactivex/functions/Function;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Function<-TB;+Lio/reactivex/ObservableSource<TV;>;>;
final int bufferSize;
descriptor: I
flags: (0x0010) ACC_FINAL
final io.reactivex.disposables.CompositeDisposable resources;
descriptor: Lio/reactivex/disposables/CompositeDisposable;
flags: (0x0010) ACC_FINAL
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
final java.util.concurrent.atomic.AtomicReference<io.reactivex.disposables.Disposable> boundary;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;
final java.util.List<io.reactivex.subjects.UnicastSubject<T>> ws;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Lio/reactivex/subjects/UnicastSubject<TT;>;>;
final java.util.concurrent.atomic.AtomicLong windows;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicBoolean stopWindows;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0010) ACC_FINAL
void <init>(io.reactivex.Observer<? super io.reactivex.Observable<T>>, io.reactivex.ObservableSource<B>, io.reactivex.functions.Function<? super B, ? extends io.reactivex.ObservableSource<V>>, );
descriptor: (Lio/reactivex/Observer;Lio/reactivex/ObservableSource;Lio/reactivex/functions/Function;I)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
new io.reactivex.internal.queue.MpscLinkedQueue
dup
invokespecial io.reactivex.internal.queue.MpscLinkedQueue.<init>:()V
invokespecial io.reactivex.internal.observers.QueueDrainObserver.<init>:(Lio/reactivex/Observer;Lio/reactivex/internal/fuseable/SimplePlainQueue;)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.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.boundary:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.windows:Ljava/util/concurrent/atomic/AtomicLong;
3: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.stopWindows:Ljava/util/concurrent/atomic/AtomicBoolean;
4: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.open:Lio/reactivex/ObservableSource;
5: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.close:Lio/reactivex/functions/Function;
6: aload 0
iload 4
putfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.bufferSize:I
7: aload 0
new io.reactivex.disposables.CompositeDisposable
dup
invokespecial io.reactivex.disposables.CompositeDisposable.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.resources:Lio/reactivex/disposables/CompositeDisposable;
8: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.ws:Ljava/util/List;
9: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.windows:Ljava/util/concurrent/atomic/AtomicLong;
lconst_1
invokevirtual java.util.concurrent.atomic.AtomicLong.lazySet:(J)V
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
0 11 1 actual Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;
0 11 2 open Lio/reactivex/ObservableSource<TB;>;
0 11 3 close Lio/reactivex/functions/Function<-TB;+Lio/reactivex/ObservableSource<TV;>;>;
0 11 4 bufferSize I
Signature: (Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;Lio/reactivex/ObservableSource<TB;>;Lio/reactivex/functions/Function<-TB;+Lio/reactivex/ObservableSource<TV;>;>;I)V
MethodParameters:
Name Flags
actual
open
close
bufferSize
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.upstream:Lio/reactivex/disposables/Disposable;
aload 1
invokestatic io.reactivex.internal.disposables.DisposableHelper.validate:(Lio/reactivex/disposables/Disposable;Lio/reactivex/disposables/Disposable;)Z
ifeq 8
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.downstream:Lio/reactivex/Observer;
aload 0
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.stopWindows:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 5
4: return
5: StackMap locals:
StackMap stack:
new io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$OperatorWindowBoundaryOpenObserver
dup
aload 0
invokespecial io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$OperatorWindowBoundaryOpenObserver.<init>:(Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver;)V
astore 2
start local 2 6: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.boundary:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 2
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 8
7: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.open:Lio/reactivex/ObservableSource;
aload 2
invokeinterface io.reactivex.ObservableSource.subscribe:(Lio/reactivex/Observer;)V
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
0 9 1 d Lio/reactivex/disposables/Disposable;
6 8 2 os Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$OperatorWindowBoundaryOpenObserver<TT;TB;>;
MethodParameters:
Name Flags
d
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.fastEnter:()Z
ifeq 7
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.ws:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver java.lang.Object top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.reactivex.subjects.UnicastSubject
astore 2
start local 2 3: aload 2
aload 1
invokevirtual io.reactivex.subjects.UnicastSubject.onNext:(Ljava/lang/Object;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
iconst_m1
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.leave:(I)I
ifne 10
6: return
7: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver java.lang.Object
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.next:(Ljava/lang/Object;)Ljava/lang/Object;
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.offer:(Ljava/lang/Object;)Z
pop
8: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.enter:()Z
ifne 10
9: return
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.drainLoop:()V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
0 12 1 t TT;
3 4 2 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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.done:Z
ifeq 3
1: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.error:Ljava/lang/Throwable;
4: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.done:Z
5: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.enter:()Z
ifeq 7
6: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.drainLoop:()V
7: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.windows:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lconst_0
lcmp
ifne 9
8: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.resources:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
9: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
0 11 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.done:Z
3: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.enter:()Z
ifeq 5
4: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.drainLoop:()V
5: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.windows:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lconst_0
lcmp
ifne 7
6: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.resources:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
7: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
void error(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.resources:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
2: aload 0
aload 1
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.onError:(Ljava/lang/Throwable;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
0 4 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.stopWindows: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.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.boundary:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.windows:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lconst_0
lcmp
ifne 4
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
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.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.stopWindows:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
void disposeBoundary();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.resources:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.boundary: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/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
void drainLoop();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=12, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
checkcast io.reactivex.internal.queue.MpscLinkedQueue
astore 1
start local 1 1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.downstream:Lio/reactivex/Observer;
astore 2
start local 2 2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.ws:Ljava/util/List;
astore 3
start local 3 3: iconst_1
istore 4
start local 4 4: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver io.reactivex.internal.queue.MpscLinkedQueue io.reactivex.Observer java.util.List int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.done:Z
istore 5
start local 5 5: aload 1
invokevirtual io.reactivex.internal.queue.MpscLinkedQueue.poll:()Ljava/lang/Object;
astore 6
start local 6 6: aload 6
ifnonnull 7
iconst_1
goto 8
StackMap locals: int java.lang.Object
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 7
start local 7 9: iload 5
ifeq 24
iload 7
ifeq 24
10: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.disposeBoundary:()V
11: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.error:Ljava/lang/Throwable;
astore 8
start local 8 12: aload 8
ifnull 18
13: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 16
StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver io.reactivex.internal.queue.MpscLinkedQueue io.reactivex.Observer java.util.List int int java.lang.Object int java.lang.Throwable top java.util.Iterator
StackMap stack:
14: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.reactivex.subjects.UnicastSubject
astore 9
start local 9 15: aload 9
aload 8
invokevirtual io.reactivex.subjects.UnicastSubject.onError:(Ljava/lang/Throwable;)V
end local 9 16: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
17: goto 22
18: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver io.reactivex.internal.queue.MpscLinkedQueue io.reactivex.Observer java.util.List int int java.lang.Object int java.lang.Throwable
StackMap stack:
aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 21
StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver io.reactivex.internal.queue.MpscLinkedQueue io.reactivex.Observer java.util.List int int java.lang.Object int java.lang.Throwable top java.util.Iterator
StackMap stack:
19: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.reactivex.subjects.UnicastSubject
astore 9
start local 9 20: aload 9
invokevirtual io.reactivex.subjects.UnicastSubject.onComplete:()V
end local 9 21: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
22: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver io.reactivex.internal.queue.MpscLinkedQueue io.reactivex.Observer java.util.List int int java.lang.Object int java.lang.Throwable
StackMap stack:
aload 3
invokeinterface java.util.List.clear:()V
23: return
end local 8 24: StackMap locals:
StackMap stack:
iload 7
ifeq 26
25: goto 57
26: StackMap locals:
StackMap stack:
aload 6
instanceof io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowOperation
ifeq 52
27: aload 6
checkcast io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowOperation
astore 8
start local 8 28: aload 8
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowOperation.w:Lio/reactivex/subjects/UnicastSubject;
astore 9
start local 9 29: aload 9
ifnull 35
30: aload 3
aload 8
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowOperation.w:Lio/reactivex/subjects/UnicastSubject;
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
ifeq 4
31: aload 8
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowOperation.w:Lio/reactivex/subjects/UnicastSubject;
invokevirtual io.reactivex.subjects.UnicastSubject.onComplete:()V
32: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.windows:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.decrementAndGet:()J
lconst_0
lcmp
ifne 4
33: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.disposeBoundary:()V
34: return
35: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowOperation io.reactivex.subjects.UnicastSubject
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.stopWindows:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 37
36: goto 4
37: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.bufferSize:I
invokestatic io.reactivex.subjects.UnicastSubject.create:(I)Lio/reactivex/subjects/UnicastSubject;
astore 9
38: aload 3
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
39: aload 2
aload 9
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
40: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.close:Lio/reactivex/functions/Function;
aload 8
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowOperation.open:Ljava/lang/Object;
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 10
start local 10 41: goto 47
end local 10 StackMap locals:
StackMap stack: java.lang.Throwable
42: astore 11
start local 11 43: aload 11
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
44: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.stopWindows:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
45: aload 2
aload 11
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
46: goto 4
end local 11 start local 10 47: StackMap locals: io.reactivex.ObservableSource
StackMap stack:
new io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$OperatorWindowBoundaryCloseObserver
dup
aload 0
aload 9
invokespecial io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$OperatorWindowBoundaryCloseObserver.<init>:(Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver;Lio/reactivex/subjects/UnicastSubject;)V
astore 11
start local 11 48: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.resources:Lio/reactivex/disposables/CompositeDisposable;
aload 11
invokevirtual io.reactivex.disposables.CompositeDisposable.add:(Lio/reactivex/disposables/Disposable;)Z
ifeq 4
49: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.windows:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.getAndIncrement:()J
pop2
50: aload 10
aload 11
invokeinterface io.reactivex.ObservableSource.subscribe:(Lio/reactivex/Observer;)V
51: goto 4
end local 11 end local 10 end local 9 end local 8 52: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 55
StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver io.reactivex.internal.queue.MpscLinkedQueue io.reactivex.Observer java.util.List int int java.lang.Object int top java.util.Iterator
StackMap stack:
53: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.reactivex.subjects.UnicastSubject
astore 8
start local 8 54: aload 8
aload 6
invokestatic io.reactivex.internal.util.NotificationLite.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual io.reactivex.subjects.UnicastSubject.onNext:(Ljava/lang/Object;)V
end local 8 55: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 53
end local 7 end local 6 end local 5 56: goto 4
57: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver io.reactivex.internal.queue.MpscLinkedQueue io.reactivex.Observer java.util.List int
StackMap stack:
aload 0
iload 4
ineg
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.leave:(I)I
istore 4
58: iload 4
ifne 4
59: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 60 0 this Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
1 60 1 q Lio/reactivex/internal/queue/MpscLinkedQueue<Ljava/lang/Object;>;
2 60 2 a Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;
3 60 3 ws Ljava/util/List<Lio/reactivex/subjects/UnicastSubject<TT;>;>;
4 60 4 missed I
5 56 5 d Z
6 56 6 o Ljava/lang/Object;
9 56 7 empty Z
12 24 8 e Ljava/lang/Throwable;
15 16 9 w Lio/reactivex/subjects/UnicastSubject<TT;>;
20 21 9 w Lio/reactivex/subjects/UnicastSubject<TT;>;
28 52 8 wo Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowOperation<TT;TB;>;
29 52 9 w Lio/reactivex/subjects/UnicastSubject<TT;>;
41 42 10 p Lio/reactivex/ObservableSource<TV;>;
47 52 10 p Lio/reactivex/ObservableSource<TV;>;
43 47 11 e Ljava/lang/Throwable;
48 52 11 cl Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$OperatorWindowBoundaryCloseObserver<TT;TV;>;
54 55 8 w Lio/reactivex/subjects/UnicastSubject<TT;>;
Exception table:
from to target type
40 41 42 Class java.lang.Throwable
public void accept(io.reactivex.Observer<? super io.reactivex.Observable<T>>, );
descriptor: (Lio/reactivex/Observer;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
0 1 1 a Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;
0 1 2 v Ljava/lang/Object;
Signature: (Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
a
v
void open();
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
new io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowOperation
dup
aconst_null
aload 1
invokespecial io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowOperation.<init>:(Lio/reactivex/subjects/UnicastSubject;Ljava/lang/Object;)V
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.offer:(Ljava/lang/Object;)Z
pop
1: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.enter:()Z
ifeq 3
2: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.drainLoop:()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/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
0 4 1 b TB;
Signature: (TB;)V
MethodParameters:
Name Flags
b
void close(io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$OperatorWindowBoundaryCloseObserver<T, V>);
descriptor: (Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$OperatorWindowBoundaryCloseObserver;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.resources:Lio/reactivex/disposables/CompositeDisposable;
aload 1
invokevirtual io.reactivex.disposables.CompositeDisposable.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
new io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowOperation
dup
aload 1
getfield io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$OperatorWindowBoundaryCloseObserver.w:Lio/reactivex/subjects/UnicastSubject;
aconst_null
invokespecial io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowOperation.<init>:(Lio/reactivex/subjects/UnicastSubject;Ljava/lang/Object;)V
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.offer:(Ljava/lang/Object;)Z
pop
2: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.enter:()Z
ifeq 4
3: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver.drainLoop:()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/observable/ObservableWindowBoundarySelector$WindowBoundaryMainObserver<TT;TB;TV;>;
0 5 1 w Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$OperatorWindowBoundaryCloseObserver<TT;TV;>;
Signature: (Lio/reactivex/internal/operators/observable/ObservableWindowBoundarySelector$OperatorWindowBoundaryCloseObserver<TT;TV;>;)V
MethodParameters:
Name Flags
w
}
Signature: <T:Ljava/lang/Object;B:Ljava/lang/Object;V:Ljava/lang/Object;>Lio/reactivex/internal/observers/QueueDrainObserver<TT;Ljava/lang/Object;Lio/reactivex/Observable<TT;>;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableWindowBoundarySelector.java"
NestHost: io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector
InnerClasses:
final OperatorWindowBoundaryCloseObserver = io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$OperatorWindowBoundaryCloseObserver of io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector
final OperatorWindowBoundaryOpenObserver = io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$OperatorWindowBoundaryOpenObserver of io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector
final WindowBoundaryMainObserver = io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowBoundaryMainObserver of io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector
final WindowOperation = io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector$WindowOperation of io.reactivex.internal.operators.observable.ObservableWindowBoundarySelector