final class io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber<T, R> 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.FlowableScanSeed$ScanSeedSubscriber
super_class: java.util.concurrent.atomic.AtomicInteger
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1776795561228106469
final org.reactivestreams.Subscriber<? super R> downstream;
descriptor: Lorg/reactivestreams/Subscriber;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Subscriber<-TR;>;
final io.reactivex.functions.BiFunction<R, ? super T, R> accumulator;
descriptor: Lio/reactivex/functions/BiFunction;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/BiFunction<TR;-TT;TR;>;
final io.reactivex.internal.fuseable.SimplePlainQueue<R> queue;
descriptor: Lio/reactivex/internal/fuseable/SimplePlainQueue;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/internal/fuseable/SimplePlainQueue<TR;>;
final java.util.concurrent.atomic.AtomicLong requested;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0010) ACC_FINAL
final int prefetch;
descriptor: I
flags: (0x0010) ACC_FINAL
final int limit;
descriptor: I
flags: (0x0010) ACC_FINAL
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
volatile boolean done;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0000)
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
R value;
descriptor: Ljava/lang/Object;
flags: (0x0000)
Signature: TR;
int consumed;
descriptor: I
flags: (0x0000)
void <init>(org.reactivestreams.Subscriber<? super R>, io.reactivex.functions.BiFunction<R, ? super T, R>, R, );
descriptor: (Lorg/reactivestreams/Subscriber;Lio/reactivex/functions/BiFunction;Ljava/lang/Object;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
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.downstream:Lorg/reactivestreams/Subscriber;
2: aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.accumulator:Lio/reactivex/functions/BiFunction;
3: aload 0
aload 3
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.value:Ljava/lang/Object;
4: aload 0
iload 4
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.prefetch:I
5: aload 0
iload 4
iload 4
iconst_2
ishr
isub
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.limit:I
6: aload 0
new io.reactivex.internal.queue.SpscArrayQueue
dup
iload 4
invokespecial io.reactivex.internal.queue.SpscArrayQueue.<init>:(I)V
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
7: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
aload 3
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.offer:(Ljava/lang/Object;)Z
pop
8: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/internal/operators/flowable/FlowableScanSeed$ScanSeedSubscriber<TT;TR;>;
0 10 1 actual Lorg/reactivestreams/Subscriber<-TR;>;
0 10 2 accumulator Lio/reactivex/functions/BiFunction<TR;-TT;TR;>;
0 10 3 value TR;
0 10 4 prefetch I
Signature: (Lorg/reactivestreams/Subscriber<-TR;>;Lio/reactivex/functions/BiFunction<TR;-TT;TR;>;TR;I)V
MethodParameters:
Name Flags
actual
accumulator
value
prefetch
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.upstream:Lorg/reactivestreams/Subscription;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 4
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.upstream:Lorg/reactivestreams/Subscription;
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
3: aload 1
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.prefetch:I
iconst_1
isub
i2l
invokeinterface org.reactivestreams.Subscription.request:(J)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/flowable/FlowableScanSeed$ScanSeedSubscriber<TT;TR;>;
0 5 1 s Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
s
public void onNext();
descriptor: (Ljava/lang/Object;)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.flowable.FlowableScanSeed$ScanSeedSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.value:Ljava/lang/Object;
astore 2
start local 2 3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.accumulator:Lio/reactivex/functions/BiFunction;
aload 2
aload 1
invokeinterface io.reactivex.functions.BiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
ldc "The accumulator returned a null value"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 2
4: goto 10
StackMap locals: io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber java.lang.Object java.lang.Object
StackMap stack: java.lang.Throwable
5: astore 3
start local 3 6: aload 3
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
7: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
8: aload 0
aload 3
invokevirtual io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.onError:(Ljava/lang/Throwable;)V
9: return
end local 3 10: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.value:Ljava/lang/Object;
11: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
aload 2
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.offer:(Ljava/lang/Object;)Z
pop
12: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.drain:()V
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/internal/operators/flowable/FlowableScanSeed$ScanSeedSubscriber<TT;TR;>;
0 14 1 t TT;
3 14 2 v TR;
6 10 3 ex Ljava/lang/Throwable;
Exception table:
from to target type
3 4 5 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.FlowableScanSeed$ScanSeedSubscriber.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.flowable.FlowableScanSeed$ScanSeedSubscriber.error:Ljava/lang/Throwable;
4: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.done:Z
5: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.drain:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/flowable/FlowableScanSeed$ScanSeedSubscriber<TT;TR;>;
0 7 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
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.flowable.FlowableScanSeed$ScanSeedSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.done:Z
3: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.drain:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/flowable/FlowableScanSeed$ScanSeedSubscriber<TT;TR;>;
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.cancelled:Z
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
2: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.getAndIncrement:()I
ifne 4
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.clear:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/flowable/FlowableScanSeed$ScanSeedSubscriber<TT;TR;>;
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(J)Z
ifeq 3
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
invokestatic io.reactivex.internal.util.BackpressureHelper.add:(Ljava/util/concurrent/atomic/AtomicLong;J)J
pop2
2: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.drain:()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/FlowableScanSeed$ScanSeedSubscriber<TT;TR;>;
0 4 1 n J
MethodParameters:
Name Flags
n
void drain();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=13, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.getAndIncrement:()I
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
iconst_1
istore 1
start local 1 3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.downstream:Lorg/reactivestreams/Subscriber;
astore 2
start local 2 4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
astore 3
start local 3 5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.limit:I
istore 4
start local 4 6: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.consumed:I
istore 5
start local 5 7: StackMap locals: io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber int org.reactivestreams.Subscriber io.reactivex.internal.fuseable.SimplePlainQueue int int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 6
start local 6 8: lconst_0
lstore 8
start local 8 9: goto 34
10: StackMap locals: long long
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.cancelled:Z
ifeq 13
11: aload 3
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.clear:()V
12: return
13: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.done:Z
istore 10
start local 10 14: iload 10
ifeq 20
15: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.error:Ljava/lang/Throwable;
astore 11
start local 11 16: aload 11
ifnull 20
17: aload 3
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.clear:()V
18: aload 2
aload 11
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
19: return
end local 11 20: StackMap locals: int
StackMap stack:
aload 3
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.poll:()Ljava/lang/Object;
astore 11
start local 11 21: aload 11
ifnonnull 22
iconst_1
goto 23
StackMap locals: java.lang.Object
StackMap stack:
22: iconst_0
StackMap locals:
StackMap stack: int
23: istore 12
start local 12 24: iload 10
ifeq 27
iload 12
ifeq 27
25: aload 2
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
26: return
27: StackMap locals: int
StackMap stack:
iload 12
ifeq 29
28: goto 35
29: StackMap locals:
StackMap stack:
aload 2
aload 11
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
30: lload 8
lconst_1
ladd
lstore 8
31: iinc 5 1
iload 5
iload 4
if_icmpne 34
32: iconst_0
istore 5
33: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.upstream:Lorg/reactivestreams/Subscription;
iload 4
i2l
invokeinterface org.reactivestreams.Subscription.request:(J)V
end local 12 end local 11 end local 10 34: StackMap locals:
StackMap stack:
lload 8
lload 6
lcmp
ifne 10
35: StackMap locals:
StackMap stack:
lload 8
lload 6
lcmp
ifne 45
36: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.done:Z
ifeq 45
37: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.error:Ljava/lang/Throwable;
astore 10
start local 10 38: aload 10
ifnull 42
39: aload 3
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.clear:()V
40: aload 2
aload 10
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
41: return
42: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.isEmpty:()Z
ifeq 45
43: aload 2
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
44: return
end local 10 45: StackMap locals:
StackMap stack:
lload 8
lconst_0
lcmp
ifeq 47
46: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
lload 8
invokestatic io.reactivex.internal.util.BackpressureHelper.produced:(Ljava/util/concurrent/atomic/AtomicLong;J)J
pop2
47: StackMap locals:
StackMap stack:
aload 0
iload 5
putfield io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.consumed:I
48: aload 0
iload 1
ineg
invokevirtual io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber.addAndGet:(I)I
istore 1
49: iload 1
ifne 7
end local 8 end local 6 50: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lio/reactivex/internal/operators/flowable/FlowableScanSeed$ScanSeedSubscriber<TT;TR;>;
3 51 1 missed I
4 51 2 a Lorg/reactivestreams/Subscriber<-TR;>;
5 51 3 q Lio/reactivex/internal/fuseable/SimplePlainQueue<TR;>;
6 51 4 lim I
7 51 5 c I
8 50 6 r J
9 50 8 e J
14 34 10 d Z
16 20 11 ex Ljava/lang/Throwable;
21 34 11 v TR;
24 34 12 empty Z
38 45 10 ex Ljava/lang/Throwable;
}
Signature: <T:Ljava/lang/Object;R:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;
SourceFile: "FlowableScanSeed.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableScanSeed
InnerClasses:
final ScanSeedSubscriber = io.reactivex.internal.operators.flowable.FlowableScanSeed$ScanSeedSubscriber of io.reactivex.internal.operators.flowable.FlowableScanSeed