final class io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber<T> extends java.util.concurrent.atomic.AtomicBoolean 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.FlowableTake$TakeSubscriber
super_class: java.util.concurrent.atomic.AtomicBoolean
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -5636543848937116287
final org.reactivestreams.Subscriber<? super T> downstream;
descriptor: Lorg/reactivestreams/Subscriber;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Subscriber<-TT;>;
final long limit;
descriptor: J
flags: (0x0010) ACC_FINAL
boolean done;
descriptor: Z
flags: (0x0000)
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
long remaining;
descriptor: J
flags: (0x0000)
void <init>(org.reactivestreams.Subscriber<? super T>, );
descriptor: (Lorg/reactivestreams/Subscriber;J)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.downstream:Lorg/reactivestreams/Subscriber;
2: aload 0
lload 2
putfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.limit:J
3: aload 0
lload 2
putfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.remaining:J
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/flowable/FlowableTake$TakeSubscriber<TT;>;
0 5 1 actual Lorg/reactivestreams/Subscriber<-TT;>;
0 5 2 limit J
Signature: (Lorg/reactivestreams/Subscriber<-TT;>;J)V
MethodParameters:
Name Flags
actual
limit
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.upstream:Lorg/reactivestreams/Subscription;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 8
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.upstream:Lorg/reactivestreams/Subscription;
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.limit:J
lconst_0
lcmp
ifne 7
3: aload 1
invokeinterface org.reactivestreams.Subscription.cancel:()V
4: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.done:Z
5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.downstream:Lorg/reactivestreams/Subscriber;
invokestatic io.reactivex.internal.subscriptions.EmptySubscription.complete:(Lorg/reactivestreams/Subscriber;)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/flowable/FlowableTake$TakeSubscriber<TT;>;
0 9 1 s Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
s
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.done:Z
ifne 8
aload 0
dup
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.remaining:J
dup2_x1
lconst_1
lsub
putfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.remaining:J
lconst_0
lcmp
ifle 8
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.remaining:J
lconst_0
lcmp
ifne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
5: iload 2
ifeq 8
6: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
7: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.onComplete:()V
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/flowable/FlowableTake$TakeSubscriber<TT;>;
0 9 1 t TT;
4 8 2 stop Z
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.FlowableTake$TakeSubscriber.done:Z
ifne 5
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.done:Z
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)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/flowable/FlowableTake$TakeSubscriber<TT;>;
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.FlowableTake$TakeSubscriber.done:Z
ifne 3
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.done:Z
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.downstream:Lorg/reactivestreams/Subscriber;
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/flowable/FlowableTake$TakeSubscriber<TT;>;
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(J)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.get:()Z
ifne 6
aload 0
iconst_0
iconst_1
invokevirtual io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.compareAndSet:(ZZ)Z
ifeq 6
3: lload 1
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.limit:J
lcmp
iflt 6
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.upstream:Lorg/reactivestreams/Subscription;
ldc 9223372036854775807
invokeinterface org.reactivestreams.Subscription.request:(J)V
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber.upstream:Lorg/reactivestreams/Subscription;
lload 1
invokeinterface org.reactivestreams.Subscription.request:(J)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/flowable/FlowableTake$TakeSubscriber<TT;>;
0 8 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.FlowableTake$TakeSubscriber.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/FlowableTake$TakeSubscriber<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicBoolean;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;
SourceFile: "FlowableTake.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableTake
InnerClasses:
final TakeSubscriber = io.reactivex.internal.operators.flowable.FlowableTake$TakeSubscriber of io.reactivex.internal.operators.flowable.FlowableTake