final class io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver<T, U extends java.util.Collection<? super T>, B> extends io.reactivex.internal.observers.QueueDrainObserver<T, U, 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.ObservableBufferExactBoundary$BufferExactBoundaryObserver
super_class: io.reactivex.internal.observers.QueueDrainObserver
{
final java.util.concurrent.Callable<U> bufferSupplier;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<TU;>;
final io.reactivex.ObservableSource<B> boundary;
descriptor: Lio/reactivex/ObservableSource;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/ObservableSource<TB;>;
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
io.reactivex.disposables.Disposable other;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
U buffer;
descriptor: Ljava/util/Collection;
flags: (0x0000)
Signature: TU;
void <init>(io.reactivex.Observer<? super U>, java.util.concurrent.Callable<U>, io.reactivex.ObservableSource<B>);
descriptor: (Lio/reactivex/Observer;Ljava/util/concurrent/Callable;Lio/reactivex/ObservableSource;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 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
aload 2
putfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.bufferSupplier:Ljava/util/concurrent/Callable;
2: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.boundary:Lio/reactivex/ObservableSource;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableBufferExactBoundary$BufferExactBoundaryObserver<TT;TU;TB;>;
0 4 1 actual Lio/reactivex/Observer<-TU;>;
0 4 2 bufferSupplier Ljava/util/concurrent/Callable<TU;>;
0 4 3 boundary Lio/reactivex/ObservableSource<TB;>;
Signature: (Lio/reactivex/Observer<-TU;>;Ljava/util/concurrent/Callable<TU;>;Lio/reactivex/ObservableSource<TB;>;)V
MethodParameters:
Name Flags
actual
bufferSupplier
boundary
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.upstream:Lio/reactivex/disposables/Disposable;
aload 1
invokestatic io.reactivex.internal.disposables.DisposableHelper.validate:(Lio/reactivex/disposables/Disposable;Lio/reactivex/disposables/Disposable;)Z
ifeq 16
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.bufferSupplier:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
checkcast java.util.Collection
ldc "The buffer supplied is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.Collection
astore 2
start local 2 3: goto 10
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 3
start local 3 5: aload 3
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
6: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.cancelled:Z
7: aload 1
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
8: aload 3
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.downstream:Lio/reactivex/Observer;
invokestatic io.reactivex.internal.disposables.EmptyDisposable.error:(Ljava/lang/Throwable;Lio/reactivex/Observer;)V
9: return
end local 3 start local 2 10: StackMap locals: java.util.Collection
StackMap stack:
aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.buffer:Ljava/util/Collection;
11: new io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferBoundaryObserver
dup
aload 0
invokespecial io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferBoundaryObserver.<init>:(Lio/reactivex/internal/operators/observable/ObservableBufferExactBoundary$BufferExactBoundaryObserver;)V
astore 3
start local 3 12: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.other:Lio/reactivex/disposables/Disposable;
13: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.downstream:Lio/reactivex/Observer;
aload 0
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
14: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.cancelled:Z
ifne 16
15: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.boundary:Lio/reactivex/ObservableSource;
aload 3
invokeinterface io.reactivex.ObservableSource.subscribe:(Lio/reactivex/Observer;)V
end local 3 end local 2 16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/reactivex/internal/operators/observable/ObservableBufferExactBoundary$BufferExactBoundaryObserver<TT;TU;TB;>;
0 17 1 d Lio/reactivex/disposables/Disposable;
3 4 2 b TU;
10 16 2 b TU;
5 10 3 e Ljava/lang/Throwable;
12 16 3 bs Lio/reactivex/internal/operators/observable/ObservableBufferExactBoundary$BufferBoundaryObserver<TT;TU;TB;>;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
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
dup
astore 2
monitorenter
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.buffer:Ljava/util/Collection;
astore 3
start local 3 2: aload 3
ifnonnull 5
3: aload 2
monitorexit
4: return
5: StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver java.util.Collection
StackMap stack:
aload 3
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 3 6: aload 2
monitorexit
7: goto 10
StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver java.lang.Object io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
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/ObservableBufferExactBoundary$BufferExactBoundaryObserver<TT;TU;TB;>;
0 11 1 t TT;
2 6 3 b TU;
Exception table:
from to target type
1 4 8 any
5 7 8 any
8 9 8 any
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
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.dispose:()V
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.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/ObservableBufferExactBoundary$BufferExactBoundaryObserver<TT;TU;TB;>;
0 3 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.buffer:Ljava/util/Collection;
astore 1
start local 1 2: aload 1
ifnonnull 5
3: aload 2
monitorexit
4: return
5: StackMap locals: java.util.Collection io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver
StackMap stack:
aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.buffer:Ljava/util/Collection;
6: aload 2
monitorexit
7: goto 10
end local 1 StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver top io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
start local 1 10: StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver java.util.Collection
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
aload 1
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.offer:(Ljava/lang/Object;)Z
pop
11: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.done:Z
12: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.enter:()Z
ifeq 14
13: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.downstream:Lio/reactivex/Observer;
iconst_0
aload 0
aload 0
invokestatic io.reactivex.internal.util.QueueDrainHelper.drainLoop:(Lio/reactivex/internal/fuseable/SimplePlainQueue;Lio/reactivex/Observer;ZLio/reactivex/disposables/Disposable;Lio/reactivex/internal/util/ObservableQueueDrain;)V
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/reactivex/internal/operators/observable/ObservableBufferExactBoundary$BufferExactBoundaryObserver<TT;TU;TB;>;
2 8 1 b TU;
10 15 1 b TU;
Exception table:
from to target type
1 4 8 any
5 7 8 any
8 9 8 any
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.cancelled:Z
ifne 6
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.cancelled:Z
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.other:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
4: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.enter:()Z
ifeq 6
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.clear:()V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/observable/ObservableBufferExactBoundary$BufferExactBoundaryObserver<TT;TU;TB;>;
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.ObservableBufferExactBoundary$BufferExactBoundaryObserver.cancelled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableBufferExactBoundary$BufferExactBoundaryObserver<TT;TU;TB;>;
void next();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.bufferSupplier:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
checkcast java.util.Collection
ldc "The buffer supplied is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.Collection
astore 1
start local 1 1: goto 7
end local 1 StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 2
start local 2 3: aload 2
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
4: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.dispose:()V
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.downstream:Lio/reactivex/Observer;
aload 2
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
6: return
end local 2 start local 1 7: StackMap locals: java.util.Collection
StackMap stack:
aload 0
dup
astore 3
monitorenter
8: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.buffer:Ljava/util/Collection;
astore 2
start local 2 9: aload 2
ifnonnull 12
10: aload 3
monitorexit
11: return
12: StackMap locals: java.util.Collection io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver
StackMap stack:
aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.buffer:Ljava/util/Collection;
13: aload 3
monitorexit
14: goto 17
end local 2 StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver java.util.Collection top io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver
StackMap stack: java.lang.Throwable
15: aload 3
monitorexit
16: athrow
start local 2 17: StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver java.util.Collection java.util.Collection
StackMap stack:
aload 0
aload 2
iconst_0
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.fastPathEmit:(Ljava/lang/Object;ZLio/reactivex/disposables/Disposable;)V
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/reactivex/internal/operators/observable/ObservableBufferExactBoundary$BufferExactBoundaryObserver<TT;TU;TB;>;
1 2 1 next TU;
7 19 1 next TU;
3 7 2 e Ljava/lang/Throwable;
9 15 2 b TU;
17 19 2 b TU;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
8 11 15 any
12 14 15 any
15 16 15 any
public void accept(io.reactivex.Observer<? super U>, );
descriptor: (Lio/reactivex/Observer;Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.downstream:Lio/reactivex/Observer;
aload 2
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableBufferExactBoundary$BufferExactBoundaryObserver<TT;TU;TB;>;
0 2 1 a Lio/reactivex/Observer<-TU;>;
0 2 2 v TU;
Signature: (Lio/reactivex/Observer<-TU;>;TU;)V
MethodParameters:
Name Flags
a
v
public void accept(io.reactivex.Observer, java.lang.Object);
descriptor: (Lio/reactivex/Observer;Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast io.reactivex.Observer
aload 2
checkcast java.util.Collection
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver.accept:(Lio/reactivex/Observer;Ljava/util/Collection;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;U::Ljava/util/Collection<-TT;>;B:Ljava/lang/Object;>Lio/reactivex/internal/observers/QueueDrainObserver<TT;TU;TU;>;Lio/reactivex/Observer<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableBufferExactBoundary.java"
NestHost: io.reactivex.internal.operators.observable.ObservableBufferExactBoundary
InnerClasses:
final BufferBoundaryObserver = io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferBoundaryObserver of io.reactivex.internal.operators.observable.ObservableBufferExactBoundary
final BufferExactBoundaryObserver = io.reactivex.internal.operators.observable.ObservableBufferExactBoundary$BufferExactBoundaryObserver of io.reactivex.internal.operators.observable.ObservableBufferExactBoundary