final class io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber<T, C extends java.util.Collection<? super T>> implements io.reactivex.FlowableSubscriber<T>, org.reactivestreams.Subscription
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber
super_class: java.lang.Object
{
final org.reactivestreams.Subscriber<? super C> downstream;
descriptor: Lorg/reactivestreams/Subscriber;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Subscriber<-TC;>;
final java.util.concurrent.Callable<C> bufferSupplier;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<TC;>;
final int size;
descriptor: I
flags: (0x0010) ACC_FINAL
C buffer;
descriptor: Ljava/util/Collection;
flags: (0x0000)
Signature: TC;
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
boolean done;
descriptor: Z
flags: (0x0000)
int index;
descriptor: I
flags: (0x0000)
void <init>(org.reactivestreams.Subscriber<? super C>, int, java.util.concurrent.Callable<C>);
descriptor: (Lorg/reactivestreams/Subscriber;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.flowable.FlowableBuffer$PublisherBufferExactSubscriber.downstream:Lorg/reactivestreams/Subscriber;
2: aload 0
iload 2
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.size:I
3: aload 0
aload 3
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.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/flowable/FlowableBuffer$PublisherBufferExactSubscriber<TT;TC;>;
0 5 1 actual Lorg/reactivestreams/Subscriber<-TC;>;
0 5 2 size I
0 5 3 bufferSupplier Ljava/util/concurrent/Callable<TC;>;
Signature: (Lorg/reactivestreams/Subscriber<-TC;>;ILjava/util/concurrent/Callable<TC;>;)V
MethodParameters:
Name Flags
actual
size
bufferSupplier
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(J)Z
ifeq 2
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.upstream:Lorg/reactivestreams/Subscription;
lload 1
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.size:I
i2l
invokestatic io.reactivex.internal.util.BackpressureHelper.multiplyCap:(JJ)J
invokeinterface org.reactivestreams.Subscription.request:(J)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferExactSubscriber<TT;TC;>;
0 3 1 n J
MethodParameters:
Name Flags
n
public void cancel();
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.flowable.FlowableBuffer$PublisherBufferExactSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferExactSubscriber<TT;TC;>;
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)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.flowable.FlowableBuffer$PublisherBufferExactSubscriber.upstream:Lorg/reactivestreams/Subscription;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 3
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.upstream:Lorg/reactivestreams/Subscription;
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)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/flowable/FlowableBuffer$PublisherBufferExactSubscriber<TT;TC;>;
0 4 1 s Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
s
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
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.buffer:Ljava/util/Collection;
astore 2
start local 2 3: aload 2
ifnonnull 12
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.bufferSupplier:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
checkcast java.util.Collection
ldc "The bufferSupplier returned a null buffer"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.Collection
astore 2
5: goto 11
StackMap locals: io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber java.lang.Object java.util.Collection
StackMap stack: java.lang.Throwable
6: astore 3
start local 3 7: aload 3
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
8: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.cancel:()V
9: aload 0
aload 3
invokevirtual io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.onError:(Ljava/lang/Throwable;)V
10: return
end local 3 11: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.buffer:Ljava/util/Collection;
12: StackMap locals:
StackMap stack:
aload 2
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
13: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.index:I
iconst_1
iadd
istore 3
start local 3 14: iload 3
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.size:I
if_icmpne 19
15: aload 0
iconst_0
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.index:I
16: aload 0
aconst_null
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.buffer:Ljava/util/Collection;
17: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 2
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
18: goto 20
19: StackMap locals: int
StackMap stack:
aload 0
iload 3
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.index:I
20: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferExactSubscriber<TT;TC;>;
0 21 1 t TT;
3 21 2 b TC;
7 11 3 e Ljava/lang/Throwable;
14 21 3 i I
Exception table:
from to target type
4 5 6 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.flowable.FlowableBuffer$PublisherBufferExactSubscriber.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
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.done:Z
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferExactSubscriber<TT;TC;>;
0 6 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.flowable.FlowableBuffer$PublisherBufferExactSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.done:Z
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.buffer:Ljava/util/Collection;
astore 1
start local 1 4: aload 1
ifnull 6
aload 1
invokeinterface java.util.Collection.isEmpty:()Z
ifne 6
5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
6: StackMap locals: java.util.Collection
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber.downstream:Lorg/reactivestreams/Subscriber;
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferExactSubscriber<TT;TC;>;
4 8 1 b TC;
}
Signature: <T:Ljava/lang/Object;C::Ljava/util/Collection<-TT;>;>Ljava/lang/Object;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;
SourceFile: "FlowableBuffer.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableBuffer
InnerClasses:
final PublisherBufferExactSubscriber = io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferExactSubscriber of io.reactivex.internal.operators.flowable.FlowableBuffer