public class io.reactivex.internal.util.LinkedArrayList
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.reactivex.internal.util.LinkedArrayList
super_class: java.lang.Object
{
final int capacityHint;
descriptor: I
flags: (0x0010) ACC_FINAL
java.lang.Object[] head;
descriptor: [Ljava/lang/Object;
flags: (0x0000)
java.lang.Object[] tail;
descriptor: [Ljava/lang/Object;
flags: (0x0000)
volatile int size;
descriptor: I
flags: (0x0040) ACC_VOLATILE
int indexInTail;
descriptor: I
flags: (0x0000)
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
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield io.reactivex.internal.util.LinkedArrayList.capacityHint:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/util/LinkedArrayList;
0 3 1 capacityHint I
MethodParameters:
Name Flags
capacityHint
public void add(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.util.LinkedArrayList.size:I
ifne 7
1: aload 0
aload 0
getfield io.reactivex.internal.util.LinkedArrayList.capacityHint:I
iconst_1
iadd
anewarray java.lang.Object
putfield io.reactivex.internal.util.LinkedArrayList.head:[Ljava/lang/Object;
2: aload 0
aload 0
getfield io.reactivex.internal.util.LinkedArrayList.head:[Ljava/lang/Object;
putfield io.reactivex.internal.util.LinkedArrayList.tail:[Ljava/lang/Object;
3: aload 0
getfield io.reactivex.internal.util.LinkedArrayList.head:[Ljava/lang/Object;
iconst_0
aload 1
aastore
4: aload 0
iconst_1
putfield io.reactivex.internal.util.LinkedArrayList.indexInTail:I
5: aload 0
iconst_1
putfield io.reactivex.internal.util.LinkedArrayList.size:I
6: goto 18
7: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.util.LinkedArrayList.indexInTail:I
aload 0
getfield io.reactivex.internal.util.LinkedArrayList.capacityHint:I
if_icmpne 15
8: aload 0
getfield io.reactivex.internal.util.LinkedArrayList.capacityHint:I
iconst_1
iadd
anewarray java.lang.Object
astore 2
start local 2 9: aload 2
iconst_0
aload 1
aastore
10: aload 0
getfield io.reactivex.internal.util.LinkedArrayList.tail:[Ljava/lang/Object;
aload 0
getfield io.reactivex.internal.util.LinkedArrayList.capacityHint:I
aload 2
aastore
11: aload 0
aload 2
putfield io.reactivex.internal.util.LinkedArrayList.tail:[Ljava/lang/Object;
12: aload 0
iconst_1
putfield io.reactivex.internal.util.LinkedArrayList.indexInTail:I
13: aload 0
dup
getfield io.reactivex.internal.util.LinkedArrayList.size:I
iconst_1
iadd
putfield io.reactivex.internal.util.LinkedArrayList.size:I
end local 2 14: goto 18
15: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.util.LinkedArrayList.tail:[Ljava/lang/Object;
aload 0
getfield io.reactivex.internal.util.LinkedArrayList.indexInTail:I
aload 1
aastore
16: aload 0
dup
getfield io.reactivex.internal.util.LinkedArrayList.indexInTail:I
iconst_1
iadd
putfield io.reactivex.internal.util.LinkedArrayList.indexInTail:I
17: aload 0
dup
getfield io.reactivex.internal.util.LinkedArrayList.size:I
iconst_1
iadd
putfield io.reactivex.internal.util.LinkedArrayList.size:I
18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/reactivex/internal/util/LinkedArrayList;
0 19 1 o Ljava/lang/Object;
9 14 2 t [Ljava/lang/Object;
MethodParameters:
Name Flags
o
public java.lang.Object[] head();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.util.LinkedArrayList.head:[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/util/LinkedArrayList;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.util.LinkedArrayList.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/util/LinkedArrayList;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.util.LinkedArrayList.capacityHint:I
istore 1
start local 1 1: aload 0
getfield io.reactivex.internal.util.LinkedArrayList.size:I
istore 2
start local 2 2: new java.util.ArrayList
dup
iload 2
iconst_1
iadd
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 3: aload 0
invokevirtual io.reactivex.internal.util.LinkedArrayList.head:()[Ljava/lang/Object;
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 12
7: StackMap locals: io.reactivex.internal.util.LinkedArrayList int int java.util.List java.lang.Object[] int int
StackMap stack:
aload 3
aload 4
iload 6
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: iinc 5 1
9: iinc 6 1
iload 6
iload 1
if_icmpne 12
10: iconst_0
istore 6
11: aload 4
iload 1
aaload
checkcast java.lang.Object[]
astore 4
12: StackMap locals:
StackMap stack:
iload 5
iload 2
if_icmplt 7
13: aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 6 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 14 0 this Lio/reactivex/internal/util/LinkedArrayList;
1 14 1 cap I
2 14 2 s I
3 14 3 list Ljava/util/List<Ljava/lang/Object;>;
4 14 4 h [Ljava/lang/Object;
5 14 5 j I
6 14 6 k I
}
SourceFile: "LinkedArrayList.java"