public final class io.reactivex.internal.subscriptions.ArrayCompositeSubscription extends java.util.concurrent.atomic.AtomicReferenceArray<org.reactivestreams.Subscription> implements io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.subscriptions.ArrayCompositeSubscription
super_class: java.util.concurrent.atomic.AtomicReferenceArray
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2746389416410565408
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial java.util.concurrent.atomic.AtomicReferenceArray.<init>:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/subscriptions/ArrayCompositeSubscription;
0 2 1 capacity I
MethodParameters:
Name Flags
capacity
public boolean setResource(int, org.reactivestreams.Subscription);
descriptor: (ILorg/reactivestreams/Subscription;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual io.reactivex.internal.subscriptions.ArrayCompositeSubscription.get:(I)Ljava/lang/Object;
checkcast org.reactivestreams.Subscription
astore 3
start local 3 1: aload 3
getstatic io.reactivex.internal.subscriptions.SubscriptionHelper.CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if_acmpne 5
2: aload 2
ifnull 4
3: aload 2
invokeinterface org.reactivestreams.Subscription.cancel:()V
4: StackMap locals: org.reactivestreams.Subscription
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 3
aload 2
invokevirtual io.reactivex.internal.subscriptions.ArrayCompositeSubscription.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
6: aload 3
ifnull 8
7: aload 3
invokeinterface org.reactivestreams.Subscription.cancel:()V
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/subscriptions/ArrayCompositeSubscription;
0 9 1 index I
0 9 2 resource Lorg/reactivestreams/Subscription;
1 9 3 o Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
index
resource
public org.reactivestreams.Subscription replaceResource(int, org.reactivestreams.Subscription);
descriptor: (ILorg/reactivestreams/Subscription;)Lorg/reactivestreams/Subscription;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual io.reactivex.internal.subscriptions.ArrayCompositeSubscription.get:(I)Ljava/lang/Object;
checkcast org.reactivestreams.Subscription
astore 3
start local 3 1: aload 3
getstatic io.reactivex.internal.subscriptions.SubscriptionHelper.CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if_acmpne 5
2: aload 2
ifnull 4
3: aload 2
invokeinterface org.reactivestreams.Subscription.cancel:()V
4: StackMap locals: org.reactivestreams.Subscription
StackMap stack:
aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 3
aload 2
invokevirtual io.reactivex.internal.subscriptions.ArrayCompositeSubscription.compareAndSet:(ILjava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/subscriptions/ArrayCompositeSubscription;
0 7 1 index I
0 7 2 resource Lorg/reactivestreams/Subscription;
1 7 3 o Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
index
resource
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual io.reactivex.internal.subscriptions.ArrayCompositeSubscription.get:(I)Ljava/lang/Object;
getstatic io.reactivex.internal.subscriptions.SubscriptionHelper.CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if_acmpeq 11
1: aload 0
invokevirtual io.reactivex.internal.subscriptions.ArrayCompositeSubscription.length:()I
istore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 10
4: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual io.reactivex.internal.subscriptions.ArrayCompositeSubscription.get:(I)Ljava/lang/Object;
checkcast org.reactivestreams.Subscription
astore 3
start local 3 5: aload 3
getstatic io.reactivex.internal.subscriptions.SubscriptionHelper.CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if_acmpeq 9
6: aload 0
iload 2
getstatic io.reactivex.internal.subscriptions.SubscriptionHelper.CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
invokevirtual io.reactivex.internal.subscriptions.ArrayCompositeSubscription.getAndSet:(ILjava/lang/Object;)Ljava/lang/Object;
checkcast org.reactivestreams.Subscription
astore 3
7: aload 3
getstatic io.reactivex.internal.subscriptions.SubscriptionHelper.CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if_acmpeq 9
aload 3
ifnull 9
8: aload 3
invokeinterface org.reactivestreams.Subscription.cancel:()V
end local 3 9: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
iload 1
if_icmplt 4
end local 2 end local 1 11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/reactivex/internal/subscriptions/ArrayCompositeSubscription;
2 11 1 s I
3 11 2 i I
5 9 3 o Lorg/reactivestreams/Subscription;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual io.reactivex.internal.subscriptions.ArrayCompositeSubscription.get:(I)Ljava/lang/Object;
getstatic io.reactivex.internal.subscriptions.SubscriptionHelper.CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/subscriptions/ArrayCompositeSubscription;
}
Signature: Ljava/util/concurrent/atomic/AtomicReferenceArray<Lorg/reactivestreams/Subscription;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ArrayCompositeSubscription.java"