final class io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver<T, U extends java.util.Collection<? super T>> 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.ObservableBuffer$BufferExactObserver
super_class: java.lang.Object
{
final io.reactivex.Observer<? super U> downstream;
descriptor: Lio/reactivex/Observer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/Observer<-TU;>;
final int count;
descriptor: I
flags: (0x0010) ACC_FINAL
final java.util.concurrent.Callable<U> bufferSupplier;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<TU;>;
U buffer;
descriptor: Ljava/util/Collection;
flags: (0x0000)
Signature: TU;
int size;
descriptor: I
flags: (0x0000)
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
void <init>(io.reactivex.Observer<? super U>, int, java.util.concurrent.Callable<U>);
descriptor: (Lio/reactivex/Observer;ILjava/util/concurrent/Callable;)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.observable.ObservableBuffer$BufferExactObserver.downstream:Lio/reactivex/Observer;
2: aload 0
iload 2
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.count:I
3: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.bufferSupplier:Ljava/util/concurrent/Callable;
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/observable/ObservableBuffer$BufferExactObserver<TT;TU;>;
0 5 1 actual Lio/reactivex/Observer<-TU;>;
0 5 2 count I
0 5 3 bufferSupplier Ljava/util/concurrent/Callable<TU;>;
Signature: (Lio/reactivex/Observer<-TU;>;ILjava/util/concurrent/Callable<TU;>;)V
MethodParameters:
Name Flags
actual
count
bufferSupplier
boolean createBuffer();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.bufferSupplier:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
checkcast java.util.Collection
ldc "Empty buffer supplied"
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 11
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
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.buffer:Ljava/util/Collection;
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.upstream:Lio/reactivex/disposables/Disposable;
ifnonnull 8
6: aload 2
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.downstream:Lio/reactivex/Observer;
invokestatic io.reactivex.internal.disposables.EmptyDisposable.error:(Ljava/lang/Throwable;Lio/reactivex/Observer;)V
7: goto 10
8: StackMap locals: io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver top java.lang.Throwable
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
9: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.downstream:Lio/reactivex/Observer;
aload 2
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 start local 1 11: StackMap locals: io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver java.util.Collection
StackMap stack:
aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.buffer:Ljava/util/Collection;
12: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/reactivex/internal/operators/observable/ObservableBuffer$BufferExactObserver<TT;TU;>;
1 2 1 b TU;
11 13 1 b TU;
3 11 2 t Ljava/lang/Throwable;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
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.ObservableBuffer$BufferExactObserver.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.ObservableBuffer$BufferExactObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.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/ObservableBuffer$BufferExactObserver<TT;TU;>;
0 4 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
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.ObservableBuffer$BufferExactObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableBuffer$BufferExactObserver<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.ObservableBuffer$BufferExactObserver.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/ObservableBuffer$BufferExactObserver<TT;TU;>;
public void onNext();
descriptor: (Ljava/lang/Object;)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.ObservableBuffer$BufferExactObserver.buffer:Ljava/util/Collection;
astore 2
start local 2 1: aload 2
ifnull 7
2: aload 2
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
3: aload 0
dup
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.size:I
iconst_1
iadd
dup_x1
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.size:I
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.count:I
if_icmplt 7
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.downstream:Lio/reactivex/Observer;
aload 2
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
5: aload 0
iconst_0
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.size:I
6: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.createBuffer:()Z
pop
7: StackMap locals: java.util.Collection
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/observable/ObservableBuffer$BufferExactObserver<TT;TU;>;
0 8 1 t TT;
1 8 2 b TU;
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
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.buffer:Ljava/util/Collection;
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.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/ObservableBuffer$BufferExactObserver<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=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.buffer:Ljava/util/Collection;
astore 1
start local 1 1: aload 1
ifnull 6
2: aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.buffer:Ljava/util/Collection;
3: aload 1
invokeinterface java.util.Collection.isEmpty:()Z
ifne 5
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
5: StackMap locals: java.util.Collection
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()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/observable/ObservableBuffer$BufferExactObserver<TT;TU;>;
1 7 1 b TU;
}
Signature: <T:Ljava/lang/Object;U::Ljava/util/Collection<-TT;>;>Ljava/lang/Object;Lio/reactivex/Observer<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableBuffer.java"
NestHost: io.reactivex.internal.operators.observable.ObservableBuffer
InnerClasses:
final BufferExactObserver = io.reactivex.internal.operators.observable.ObservableBuffer$BufferExactObserver of io.reactivex.internal.operators.observable.ObservableBuffer