final class io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber<T, C extends java.util.Collection<? super T>> extends java.util.concurrent.atomic.AtomicInteger 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$PublisherBufferSkipSubscriber
super_class: java.util.concurrent.atomic.AtomicInteger
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -5616169793639412593
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
final int skip;
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, int, java.util.concurrent.Callable<C>);
descriptor: (Lorg/reactivestreams/Subscriber;IILjava/util/concurrent/Callable;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.downstream:Lorg/reactivestreams/Subscriber;
2: aload 0
iload 2
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.size:I
3: aload 0
iload 3
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.skip:I
4: aload 0
aload 4
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.bufferSupplier:Ljava/util/concurrent/Callable;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferSkipSubscriber<TT;TC;>;
0 6 1 actual Lorg/reactivestreams/Subscriber<-TC;>;
0 6 2 size I
0 6 3 skip I
0 6 4 bufferSupplier Ljava/util/concurrent/Callable<TC;>;
Signature: (Lorg/reactivestreams/Subscriber<-TC;>;IILjava/util/concurrent/Callable<TC;>;)V
MethodParameters:
Name Flags
actual
size
skip
bufferSupplier
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: lload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(J)Z
ifeq 7
1: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.get:()I
ifne 6
aload 0
iconst_0
iconst_1
invokevirtual io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.compareAndSet:(II)Z
ifeq 6
2: lload 1
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.size:I
i2l
invokestatic io.reactivex.internal.util.BackpressureHelper.multiplyCap:(JJ)J
lstore 3
start local 3 3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.skip:I
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.size:I
isub
i2l
lload 1
lconst_1
lsub
invokestatic io.reactivex.internal.util.BackpressureHelper.multiplyCap:(JJ)J
lstore 5
start local 5 4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.upstream:Lorg/reactivestreams/Subscription;
lload 3
lload 5
invokestatic io.reactivex.internal.util.BackpressureHelper.addCap:(JJ)J
invokeinterface org.reactivestreams.Subscription.request:(J)V
end local 5 end local 3 5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.upstream:Lorg/reactivestreams/Subscription;
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.skip:I
i2l
lload 1
invokestatic io.reactivex.internal.util.BackpressureHelper.multiplyCap:(JJ)J
invokeinterface org.reactivestreams.Subscription.request:(J)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferSkipSubscriber<TT;TC;>;
0 8 1 n J
3 5 3 u J
4 5 5 v 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$PublisherBufferSkipSubscriber.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$PublisherBufferSkipSubscriber<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$PublisherBufferSkipSubscriber.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$PublisherBufferSkipSubscriber.upstream:Lorg/reactivestreams/Subscription;
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.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$PublisherBufferSkipSubscriber<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=5, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.buffer:Ljava/util/Collection;
astore 2
start local 2 3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.index:I
istore 3
start local 3 4: iload 3
iinc 3 1
ifne 13
5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.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
6: goto 12
StackMap locals: io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber java.lang.Object java.util.Collection int
StackMap stack: java.lang.Throwable
7: astore 4
start local 4 8: aload 4
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
9: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.cancel:()V
10: aload 0
aload 4
invokevirtual io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.onError:(Ljava/lang/Throwable;)V
11: return
end local 4 12: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.buffer:Ljava/util/Collection;
13: StackMap locals:
StackMap stack:
aload 2
ifnull 18
14: aload 2
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
15: aload 2
invokeinterface java.util.Collection.size:()I
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.size:I
if_icmpne 18
16: aload 0
aconst_null
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.buffer:Ljava/util/Collection;
17: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 2
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
18: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.skip:I
if_icmpne 20
19: iconst_0
istore 3
20: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.index:I
21: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferSkipSubscriber<TT;TC;>;
0 22 1 t TT;
3 22 2 b TC;
4 22 3 i I
8 12 4 e Ljava/lang/Throwable;
Exception table:
from to target type
5 6 7 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$PublisherBufferSkipSubscriber.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$PublisherBufferSkipSubscriber.done:Z
4: aload 0
aconst_null
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.buffer:Ljava/util/Collection;
5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferSkipSubscriber<TT;TC;>;
0 7 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$PublisherBufferSkipSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.done:Z
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.buffer:Ljava/util/Collection;
astore 1
start local 1 4: aload 0
aconst_null
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.buffer:Ljava/util/Collection;
5: aload 1
ifnull 7
6: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
7: StackMap locals: java.util.Collection
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber.downstream:Lorg/reactivestreams/Subscriber;
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferSkipSubscriber<TT;TC;>;
4 9 1 b TC;
}
Signature: <T:Ljava/lang/Object;C::Ljava/util/Collection<-TT;>;>Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;
SourceFile: "FlowableBuffer.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableBuffer
InnerClasses:
final PublisherBufferSkipSubscriber = io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferSkipSubscriber of io.reactivex.internal.operators.flowable.FlowableBuffer