public class java.util.ArrayList<E> extends java.util.AbstractList<E> implements java.util.List<E>, java.util.RandomAccess, java.lang.Cloneable, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.util.ArrayList
super_class: java.util.AbstractList
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8683452581122892189
private static final int DEFAULT_CAPACITY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private static final java.lang.Object[] EMPTY_ELEMENTDATA;
descriptor: [Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.Object[] DEFAULTCAPACITY_EMPTY_ELEMENTDATA;
descriptor: [Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
transient java.lang.Object[] elementData;
descriptor: [Ljava/lang/Object;
flags: (0x0080) ACC_TRANSIENT
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.lang.Object
putstatic java.util.ArrayList.EMPTY_ELEMENTDATA:[Ljava/lang/Object;
1: iconst_0
anewarray java.lang.Object
putstatic java.util.ArrayList.DEFAULTCAPACITY_EMPTY_ELEMENTDATA:[Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.AbstractList.<init>:()V
1: iload 1
ifle 4
2: aload 0
iload 1
anewarray java.lang.Object
putfield java.util.ArrayList.elementData:[Ljava/lang/Object;
3: goto 10
StackMap locals: java.util.ArrayList int
StackMap stack:
4: iload 1
ifne 7
5: aload 0
getstatic java.util.ArrayList.EMPTY_ELEMENTDATA:[Ljava/lang/Object;
putfield java.util.ArrayList.elementData:[Ljava/lang/Object;
6: goto 10
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Illegal Capacity: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/util/ArrayList<TE;>;
0 11 1 initialCapacity I
MethodParameters:
Name Flags
initialCapacity
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.AbstractList.<init>:()V
1: aload 0
getstatic java.util.ArrayList.DEFAULTCAPACITY_EMPTY_ELEMENTDATA:[Ljava/lang/Object;
putfield java.util.ArrayList.elementData:[Ljava/lang/Object;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/ArrayList<TE;>;
public void <init>(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.AbstractList.<init>:()V
1: aload 1
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
astore 2
start local 2 2: aload 0
aload 2
arraylength
dup_x1
putfield java.util.ArrayList.size:I
ifeq 8
3: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljava/util/ArrayList;
if_acmpne 6
4: aload 0
aload 2
putfield java.util.ArrayList.elementData:[Ljava/lang/Object;
5: goto 9
6: StackMap locals: java.util.ArrayList java.util.Collection java.lang.Object[]
StackMap stack:
aload 0
aload 2
aload 0
getfield java.util.ArrayList.size:I
ldc [Ljava/lang/Object;
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;
putfield java.util.ArrayList.elementData:[Ljava/lang/Object;
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getstatic java.util.ArrayList.EMPTY_ELEMENTDATA:[Ljava/lang/Object;
putfield java.util.ArrayList.elementData:[Ljava/lang/Object;
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/util/ArrayList<TE;>;
0 10 1 c Ljava/util/Collection<+TE;>;
2 10 2 a [Ljava/lang/Object;
Signature: (Ljava/util/Collection<+TE;>;)V
MethodParameters:
Name Flags
c
public void trimToSize();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield java.util.ArrayList.modCount:I
iconst_1
iadd
putfield java.util.ArrayList.modCount:I
1: aload 0
getfield java.util.ArrayList.size:I
aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
arraylength
if_icmpge 6
2: aload 0
aload 0
getfield java.util.ArrayList.size:I
ifne 4
3: getstatic java.util.ArrayList.EMPTY_ELEMENTDATA:[Ljava/lang/Object;
goto 5
4: StackMap locals:
StackMap stack: java.util.ArrayList
aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
aload 0
getfield java.util.ArrayList.size:I
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
5: StackMap locals: java.util.ArrayList
StackMap stack: java.util.ArrayList java.lang.Object[]
putfield java.util.ArrayList.elementData:[Ljava/lang/Object;
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/ArrayList<TE;>;
public void ensureCapacity(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
arraylength
if_icmple 5
1: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
getstatic java.util.ArrayList.DEFAULTCAPACITY_EMPTY_ELEMENTDATA:[Ljava/lang/Object;
if_acmpne 3
2: iload 1
bipush 10
if_icmple 5
3: StackMap locals:
StackMap stack:
aload 0
dup
getfield java.util.ArrayList.modCount:I
iconst_1
iadd
putfield java.util.ArrayList.modCount:I
4: aload 0
iload 1
invokevirtual java.util.ArrayList.grow:(I)[Ljava/lang/Object;
pop
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/ArrayList<TE;>;
0 6 1 minCapacity I
MethodParameters:
Name Flags
minCapacity
private java.lang.Object[] grow(int);
descriptor: (I)[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
arraylength
istore 2
start local 2 1: iload 2
ifgt 2
aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
getstatic java.util.ArrayList.DEFAULTCAPACITY_EMPTY_ELEMENTDATA:[Ljava/lang/Object;
if_acmpeq 7
2: StackMap locals: int
StackMap stack:
iload 2
3: iload 1
iload 2
isub
4: iload 2
iconst_1
ishr
5: invokestatic jdk.internal.util.ArraysSupport.newLength:(III)I
istore 3
start local 3 6: aload 0
aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
iload 3
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
dup_x1
putfield java.util.ArrayList.elementData:[Ljava/lang/Object;
areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 0
bipush 10
iload 1
invokestatic java.lang.Math.max:(II)I
anewarray java.lang.Object
dup_x1
putfield java.util.ArrayList.elementData:[Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/util/ArrayList<TE;>;
0 8 1 minCapacity I
1 8 2 oldCapacity I
6 7 3 newCapacity I
MethodParameters:
Name Flags
minCapacity
private java.lang.Object[] grow();
descriptor: ()[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield java.util.ArrayList.size:I
iconst_1
iadd
invokevirtual java.util.ArrayList.grow:(I)[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.ArrayList.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.ArrayList.size:I
ifne 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 Ljava/util/ArrayList<TE;>;
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.util.ArrayList.indexOf:(Ljava/lang/Object;)I
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/ArrayList<TE;>;
0 2 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public int indexOf(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 0
getfield java.util.ArrayList.size:I
invokevirtual java.util.ArrayList.indexOfRange:(Ljava/lang/Object;II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
0 1 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
int indexOfRange(java.lang.Object, int, int);
descriptor: (Ljava/lang/Object;II)I
flags: (0x0000)
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 4
start local 4 1: aload 1
ifnonnull 9
2: iload 2
istore 5
start local 5 3: goto 7
4: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 4
iload 5
aaload
ifnonnull 6
5: iload 5
ireturn
6: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 3
if_icmplt 4
end local 5 8: goto 15
9: StackMap locals:
StackMap stack:
iload 2
istore 5
start local 5 10: goto 14
11: StackMap locals: int
StackMap stack:
aload 1
aload 4
iload 5
aaload
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 13
12: iload 5
ireturn
13: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
iload 3
if_icmplt 11
end local 5 15: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/util/ArrayList<TE;>;
0 16 1 o Ljava/lang/Object;
0 16 2 start I
0 16 3 end I
1 16 4 es [Ljava/lang/Object;
3 8 5 i I
10 15 5 i I
MethodParameters:
Name Flags
o
start
end
public int lastIndexOf(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 0
getfield java.util.ArrayList.size:I
invokevirtual java.util.ArrayList.lastIndexOfRange:(Ljava/lang/Object;II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
0 1 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
int lastIndexOfRange(java.lang.Object, int, int);
descriptor: (Ljava/lang/Object;II)I
flags: (0x0000)
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 4
start local 4 1: aload 1
ifnonnull 9
2: iload 3
iconst_1
isub
istore 5
start local 5 3: goto 7
4: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 4
iload 5
aaload
ifnonnull 6
5: iload 5
ireturn
6: StackMap locals:
StackMap stack:
iinc 5 -1
StackMap locals:
StackMap stack:
7: iload 5
iload 2
if_icmpge 4
end local 5 8: goto 15
9: StackMap locals:
StackMap stack:
iload 3
iconst_1
isub
istore 5
start local 5 10: goto 14
11: StackMap locals: int
StackMap stack:
aload 1
aload 4
iload 5
aaload
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 13
12: iload 5
ireturn
13: StackMap locals:
StackMap stack:
iinc 5 -1
StackMap locals:
StackMap stack:
14: iload 5
iload 2
if_icmpge 11
end local 5 15: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/util/ArrayList<TE;>;
0 16 1 o Ljava/lang/Object;
0 16 2 start I
0 16 3 end I
1 16 4 es [Ljava/lang/Object;
3 8 5 i I
10 15 5 i I
MethodParameters:
Name Flags
o
start
end
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
checkcast java.util.ArrayList
astore 1
start local 1 1: aload 1
aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
aload 0
getfield java.util.ArrayList.size:I
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
putfield java.util.ArrayList.elementData:[Ljava/lang/Object;
2: aload 1
iconst_0
putfield java.util.ArrayList.modCount:I
3: aload 1
4: areturn
end local 1 5: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
astore 1
start local 1 6: new java.lang.InternalError
dup
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/ArrayList<TE;>;
1 5 1 v Ljava/util/ArrayList<*>;
6 7 1 e Ljava/lang/CloneNotSupportedException;
Exception table:
from to target type
0 4 5 Class java.lang.CloneNotSupportedException
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
aload 0
getfield java.util.ArrayList.size:I
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
public <T> T[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
arraylength
aload 0
getfield java.util.ArrayList.size:I
if_icmpge 2
1: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
aload 0
getfield java.util.ArrayList.size:I
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
iconst_0
aload 1
iconst_0
aload 0
getfield java.util.ArrayList.size:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 1
arraylength
aload 0
getfield java.util.ArrayList.size:I
if_icmple 5
4: aload 1
aload 0
getfield java.util.ArrayList.size:I
aconst_null
aastore
5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/ArrayList<TE;>;
0 6 1 a [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;)[TT;
MethodParameters:
Name Flags
a
E elementData();
descriptor: (I)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
0 1 1 index I
Signature: (I)TE;
MethodParameters:
Name Flags
index
static <E> E elementAt([], );
descriptor: ([Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 es [Ljava/lang/Object;
0 1 1 index I
Signature: <E:Ljava/lang/Object;>([Ljava/lang/Object;I)TE;
MethodParameters:
Name Flags
es
index
public E get();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield java.util.ArrayList.size:I
invokestatic java.util.Objects.checkIndex:(II)I
pop
1: aload 0
iload 1
invokevirtual java.util.ArrayList.elementData:(I)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/ArrayList<TE;>;
0 2 1 index I
Signature: (I)TE;
MethodParameters:
Name Flags
index
public E set(int, );
descriptor: (ILjava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield java.util.ArrayList.size:I
invokestatic java.util.Objects.checkIndex:(II)I
pop
1: aload 0
iload 1
invokevirtual java.util.ArrayList.elementData:(I)Ljava/lang/Object;
astore 3
start local 3 2: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
iload 1
aload 2
aastore
3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/ArrayList<TE;>;
0 4 1 index I
0 4 2 element TE;
2 4 3 oldValue TE;
Signature: (ITE;)TE;
MethodParameters:
Name Flags
index
element
private void add(E, [], );
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
aload 2
arraylength
if_icmpne 2
1: aload 0
invokevirtual java.util.ArrayList.grow:()[Ljava/lang/Object;
astore 2
2: StackMap locals:
StackMap stack:
aload 2
iload 3
aload 1
aastore
3: aload 0
iload 3
iconst_1
iadd
putfield java.util.ArrayList.size:I
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/ArrayList<TE;>;
0 5 1 e TE;
0 5 2 elementData [Ljava/lang/Object;
0 5 3 s I
Signature: (TE;[Ljava/lang/Object;I)V
MethodParameters:
Name Flags
e
elementData
s
public boolean add();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield java.util.ArrayList.modCount:I
iconst_1
iadd
putfield java.util.ArrayList.modCount:I
1: aload 0
aload 1
aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
aload 0
getfield java.util.ArrayList.size:I
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;[Ljava/lang/Object;I)V
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/ArrayList<TE;>;
0 3 1 e TE;
Signature: (TE;)Z
MethodParameters:
Name Flags
e
public void add(int, );
descriptor: (ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual java.util.ArrayList.rangeCheckForAdd:(I)V
1: aload 0
dup
getfield java.util.ArrayList.modCount:I
iconst_1
iadd
putfield java.util.ArrayList.modCount:I
2: aload 0
getfield java.util.ArrayList.size:I
dup
istore 3
start local 3 3: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
dup
astore 4
start local 4 4: arraylength
if_icmpne 6
5: aload 0
invokevirtual java.util.ArrayList.grow:()[Ljava/lang/Object;
astore 4
6: StackMap locals: int java.lang.Object[]
StackMap stack:
aload 4
iload 1
7: aload 4
iload 1
iconst_1
iadd
8: iload 3
iload 1
isub
9: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 4
iload 1
aload 2
aastore
11: aload 0
iload 3
iconst_1
iadd
putfield java.util.ArrayList.size:I
12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/util/ArrayList<TE;>;
0 13 1 index I
0 13 2 element TE;
3 13 3 s I
4 13 4 elementData [Ljava/lang/Object;
Signature: (ITE;)V
MethodParameters:
Name Flags
index
element
public E remove();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield java.util.ArrayList.size:I
invokestatic java.util.Objects.checkIndex:(II)I
pop
1: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 2
start local 2 2: aload 2
iload 1
aaload
astore 3
start local 3 3: aload 0
aload 2
iload 1
invokevirtual java.util.ArrayList.fastRemove:([Ljava/lang/Object;I)V
4: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/ArrayList<TE;>;
0 5 1 index I
2 5 2 es [Ljava/lang/Object;
3 5 3 oldValue TE;
Signature: (I)TE;
MethodParameters:
Name Flags
index
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.util.List
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield java.util.ArrayList.modCount:I
istore 2
start local 2 5: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljava/util/ArrayList;
if_acmpne 7
6: aload 0
aload 1
checkcast java.util.ArrayList
invokevirtual java.util.ArrayList.equalsArrayList:(Ljava/util/ArrayList;)Z
goto 8
7: StackMap locals: int
StackMap stack:
aload 0
aload 1
checkcast java.util.List
iconst_0
aload 0
getfield java.util.ArrayList.size:I
invokevirtual java.util.ArrayList.equalsRange:(Ljava/util/List;II)Z
8: StackMap locals:
StackMap stack: int
istore 3
start local 3 9: aload 0
iload 2
invokevirtual java.util.ArrayList.checkForComodification:(I)V
10: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/util/ArrayList<TE;>;
0 11 1 o Ljava/lang/Object;
5 11 2 expectedModCount I
9 11 3 equal Z
MethodParameters:
Name Flags
o
boolean equalsRange(java.util.List<?>, int, );
descriptor: (Ljava/util/List;II)Z
flags: (0x0000)
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 4
start local 4 1: iload 3
aload 4
arraylength
if_icmple 3
2: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
3: StackMap locals: java.lang.Object[]
StackMap stack:
aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
start local 5 4: goto 8
5: StackMap locals: java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 6
aload 4
iload 2
aaload
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 7
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 3
if_icmplt 5
9: aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 10
iconst_0
goto 11
StackMap locals:
StackMap stack:
10: iconst_1
StackMap locals:
StackMap stack: int
11: ireturn
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 12 0 this Ljava/util/ArrayList<TE;>;
0 12 1 other Ljava/util/List<*>;
0 12 2 from I
0 12 3 to I
1 12 4 es [Ljava/lang/Object;
4 12 5 oit Ljava/util/Iterator<*>;
Signature: (Ljava/util/List<*>;II)Z
MethodParameters:
Name Flags
other
from
to
private boolean equalsArrayList(java.util.ArrayList<?>);
descriptor: (Ljava/util/ArrayList;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
getfield java.util.ArrayList.modCount:I
istore 2
start local 2 1: aload 0
getfield java.util.ArrayList.size:I
istore 3
start local 3 2: iload 3
aload 1
getfield java.util.ArrayList.size:I
if_icmpne 3
iconst_1
goto 4
StackMap locals: int int
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: dup
istore 4
start local 4 5: ifeq 17
6: aload 1
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 5
start local 5 7: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 6
start local 6 8: iload 3
aload 6
arraylength
if_icmpgt 9
iload 3
aload 5
arraylength
if_icmple 10
9: StackMap locals: int java.lang.Object[] java.lang.Object[]
StackMap stack:
new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
iconst_0
istore 7
start local 7 11: goto 16
12: StackMap locals: int
StackMap stack:
aload 6
iload 7
aaload
aload 5
iload 7
aaload
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 15
13: iconst_0
istore 4
14: goto 17
15: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
16: iload 7
iload 3
if_icmplt 12
end local 7 end local 6 end local 5 17: StackMap locals:
StackMap stack:
aload 1
iload 2
invokevirtual java.util.ArrayList.checkForComodification:(I)V
18: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljava/util/ArrayList<TE;>;
0 19 1 other Ljava/util/ArrayList<*>;
1 19 2 otherModCount I
2 19 3 s I
5 19 4 equal Z
7 17 5 otherEs [Ljava/lang/Object;
8 17 6 es [Ljava/lang/Object;
11 17 7 i I
Signature: (Ljava/util/ArrayList<*>;)Z
MethodParameters:
Name Flags
other
private void checkForComodification(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.ArrayList.modCount:I
iload 1
if_icmpeq 2
1: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/ArrayList<TE;>;
0 3 1 expectedModCount I
MethodParameters:
Name Flags
expectedModCount final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield java.util.ArrayList.modCount:I
istore 1
start local 1 1: aload 0
iconst_0
aload 0
getfield java.util.ArrayList.size:I
invokevirtual java.util.ArrayList.hashCodeRange:(II)I
istore 2
start local 2 2: aload 0
iload 1
invokevirtual java.util.ArrayList.checkForComodification:(I)V
3: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/ArrayList<TE;>;
1 4 1 expectedModCount I
2 4 2 hash I
int hashCodeRange(int, int);
descriptor: (II)I
flags: (0x0000)
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 3
start local 3 1: iload 2
aload 3
arraylength
if_icmple 3
2: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
3: StackMap locals: java.lang.Object[]
StackMap stack:
iconst_1
istore 4
start local 4 4: iload 1
istore 5
start local 5 5: goto 11
6: StackMap locals: int int
StackMap stack:
aload 3
iload 5
aaload
astore 6
start local 6 7: bipush 31
iload 4
imul
aload 6
ifnonnull 8
iconst_0
goto 9
StackMap locals: java.util.ArrayList int int java.lang.Object[] int int java.lang.Object
StackMap stack: int
8: aload 6
invokevirtual java.lang.Object.hashCode:()I
StackMap locals: java.util.ArrayList int int java.lang.Object[] int int java.lang.Object
StackMap stack: int int
9: iadd
istore 4
end local 6 10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 2
if_icmplt 6
end local 5 12: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/util/ArrayList<TE;>;
0 13 1 from I
0 13 2 to I
1 13 3 es [Ljava/lang/Object;
4 13 4 hashCode I
5 12 5 i I
7 10 6 e Ljava/lang/Object;
MethodParameters:
Name Flags
from
to
public boolean remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield java.util.ArrayList.size:I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 1
ifnonnull 13
4: goto 8
5: StackMap locals: java.lang.Object[] int int
StackMap stack:
aload 2
iload 4
aaload
ifnonnull 7
6: goto 15
7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 3
if_icmplt 5
9: goto 14
10: StackMap locals:
StackMap stack:
aload 1
aload 2
iload 4
aaload
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 12
11: goto 15
12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 3
if_icmplt 10
14: StackMap locals:
StackMap stack:
iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 0
aload 2
iload 4
invokevirtual java.util.ArrayList.fastRemove:([Ljava/lang/Object;I)V
16: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljava/util/ArrayList<TE;>;
0 17 1 o Ljava/lang/Object;
1 17 2 es [Ljava/lang/Object;
2 17 3 size I
3 17 4 i I
MethodParameters:
Name Flags
o
private void fastRemove(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
getfield java.util.ArrayList.modCount:I
iconst_1
iadd
putfield java.util.ArrayList.modCount:I
1: aload 0
getfield java.util.ArrayList.size:I
iconst_1
isub
dup
istore 3
start local 3 2: iload 2
if_icmple 4
3: aload 1
iload 2
iconst_1
iadd
aload 1
iload 2
iload 3
iload 2
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: StackMap locals: int
StackMap stack:
aload 1
aload 0
iload 3
dup_x1
putfield java.util.ArrayList.size:I
aconst_null
aastore
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/ArrayList<TE;>;
0 6 1 es [Ljava/lang/Object;
0 6 2 i I
2 6 3 newSize I
MethodParameters:
Name Flags
es
i
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
dup
getfield java.util.ArrayList.modCount:I
iconst_1
iadd
putfield java.util.ArrayList.modCount:I
1: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 1
start local 1 2: aload 0
getfield java.util.ArrayList.size:I
istore 2
start local 2 3: aload 0
iconst_0
dup_x1
putfield java.util.ArrayList.size:I
istore 3
start local 3 4: goto 7
5: StackMap locals: java.lang.Object[] int int
StackMap stack:
aload 1
iload 3
aconst_null
aastore
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 5
end local 3 end local 2 8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/ArrayList<TE;>;
2 9 1 es [Ljava/lang/Object;
3 8 2 to I
4 8 3 i I
public boolean addAll(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
astore 2
start local 2 1: aload 0
dup
getfield java.util.ArrayList.modCount:I
iconst_1
iadd
putfield java.util.ArrayList.modCount:I
2: aload 2
arraylength
istore 3
start local 3 3: iload 3
ifne 5
4: iconst_0
ireturn
5: StackMap locals: java.lang.Object[] int
StackMap stack:
iload 3
aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
dup
astore 4
start local 4 6: arraylength
aload 0
getfield java.util.ArrayList.size:I
dup
istore 5
start local 5 7: isub
if_icmple 9
8: aload 0
iload 5
iload 3
iadd
invokevirtual java.util.ArrayList.grow:(I)[Ljava/lang/Object;
astore 4
9: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 2
iconst_0
aload 4
iload 5
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 0
iload 5
iload 3
iadd
putfield java.util.ArrayList.size:I
11: iconst_1
ireturn
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 12 0 this Ljava/util/ArrayList<TE;>;
0 12 1 c Ljava/util/Collection<+TE;>;
1 12 2 a [Ljava/lang/Object;
3 12 3 numNew I
6 12 4 elementData [Ljava/lang/Object;
7 12 5 s I
Signature: (Ljava/util/Collection<+TE;>;)Z
MethodParameters:
Name Flags
c
public boolean addAll(int, java.util.Collection<? extends E>);
descriptor: (ILjava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual java.util.ArrayList.rangeCheckForAdd:(I)V
1: aload 2
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
astore 3
start local 3 2: aload 0
dup
getfield java.util.ArrayList.modCount:I
iconst_1
iadd
putfield java.util.ArrayList.modCount:I
3: aload 3
arraylength
istore 4
start local 4 4: iload 4
ifne 6
5: iconst_0
ireturn
6: StackMap locals: java.lang.Object[] int
StackMap stack:
iload 4
aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
dup
astore 5
start local 5 7: arraylength
aload 0
getfield java.util.ArrayList.size:I
dup
istore 6
start local 6 8: isub
if_icmple 10
9: aload 0
iload 6
iload 4
iadd
invokevirtual java.util.ArrayList.grow:(I)[Ljava/lang/Object;
astore 5
10: StackMap locals: java.lang.Object[] int
StackMap stack:
iload 6
iload 1
isub
istore 7
start local 7 11: iload 7
ifle 16
12: aload 5
iload 1
13: aload 5
iload 1
iload 4
iadd
14: iload 7
15: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
16: StackMap locals: int
StackMap stack:
aload 3
iconst_0
aload 5
iload 1
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
17: aload 0
iload 6
iload 4
iadd
putfield java.util.ArrayList.size:I
18: iconst_1
ireturn
end local 7 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 19 0 this Ljava/util/ArrayList<TE;>;
0 19 1 index I
0 19 2 c Ljava/util/Collection<+TE;>;
2 19 3 a [Ljava/lang/Object;
4 19 4 numNew I
7 19 5 elementData [Ljava/lang/Object;
8 19 6 s I
11 19 7 numMoved I
Signature: (ILjava/util/Collection<+TE;>;)Z
MethodParameters:
Name Flags
index
c
protected void removeRange(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
if_icmple 4
1: new java.lang.IndexOutOfBoundsException
dup
2: iload 1
iload 2
invokestatic java.util.ArrayList.outOfBoundsMsg:(II)Ljava/lang/String;
3: invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
dup
getfield java.util.ArrayList.modCount:I
iconst_1
iadd
putfield java.util.ArrayList.modCount:I
5: aload 0
aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
iload 1
iload 2
invokevirtual java.util.ArrayList.shiftTailOverGap:([Ljava/lang/Object;II)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/ArrayList<TE;>;
0 7 1 fromIndex I
0 7 2 toIndex I
MethodParameters:
Name Flags
fromIndex
toIndex
private void shiftTailOverGap(java.lang.Object[], int, int);
descriptor: ([Ljava/lang/Object;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
iload 3
aload 1
iload 2
aload 0
getfield java.util.ArrayList.size:I
iload 3
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: aload 0
getfield java.util.ArrayList.size:I
istore 4
start local 4 2: aload 0
dup
getfield java.util.ArrayList.size:I
iload 3
iload 2
isub
isub
dup_x1
putfield java.util.ArrayList.size:I
istore 5
start local 5 3: goto 6
4: StackMap locals: int int
StackMap stack:
aload 1
iload 5
aconst_null
aastore
5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 4
if_icmplt 4
end local 5 end local 4 7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/util/ArrayList<TE;>;
0 8 1 es [Ljava/lang/Object;
0 8 2 lo I
0 8 3 hi I
2 7 4 to I
3 7 5 i I
MethodParameters:
Name Flags
es
lo
hi
private void rangeCheckForAdd(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield java.util.ArrayList.size:I
if_icmpgt 1
iload 1
ifge 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
aload 0
iload 1
invokevirtual java.util.ArrayList.outOfBoundsMsg:(I)Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/ArrayList<TE;>;
0 3 1 index I
MethodParameters:
Name Flags
index
private java.lang.String outOfBoundsMsg(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "Index: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", Size: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.util.ArrayList.size:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
0 1 1 index I
MethodParameters:
Name Flags
index
private static java.lang.String outOfBoundsMsg(int, int);
descriptor: (II)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "From Index: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " > To Index: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fromIndex I
0 1 1 toIndex I
MethodParameters:
Name Flags
fromIndex
toIndex
public boolean removeAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
iconst_0
aload 0
getfield java.util.ArrayList.size:I
invokevirtual java.util.ArrayList.batchRemove:(Ljava/util/Collection;ZII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
0 1 1 c Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
public boolean retainAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
iconst_0
aload 0
getfield java.util.ArrayList.size:I
invokevirtual java.util.ArrayList.batchRemove:(Ljava/util/Collection;ZII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
0 1 1 c Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
boolean batchRemove(java.util.Collection<?>, boolean, int, );
descriptor: (Ljava/util/Collection;ZII)Z
flags: (0x0000)
Code:
stack=6, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 5
start local 5 2: iload 3
istore 6
start local 6 3: StackMap locals: java.lang.Object[] int
StackMap stack:
iload 6
iload 4
if_icmpne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 1
aload 5
iload 6
aaload
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
iload 2
if_icmpeq 7
6: goto 8
7: StackMap locals:
StackMap stack:
iinc 6 1
goto 3
8: StackMap locals:
StackMap stack:
iload 6
iinc 6 1
istore 7
start local 7 9: goto 14
10: StackMap locals: int
StackMap stack:
aload 1
aload 5
iload 6
aaload
dup
astore 8
start local 8 11: invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
iload 2
if_icmpne 13
12: aload 5
iload 7
iinc 7 1
aload 8
aastore
13: StackMap locals: java.lang.Object
StackMap stack:
iinc 6 1
end local 8 StackMap locals:
StackMap stack:
14: iload 6
iload 4
if_icmplt 10
15: goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 8
start local 8 17: aload 5
iload 6
aload 5
iload 7
iload 4
iload 6
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
18: iload 7
iload 4
iload 6
isub
iadd
istore 7
19: aload 8
athrow
end local 8 20: StackMap locals:
StackMap stack: java.lang.Throwable
astore 9
21: aload 0
dup
getfield java.util.ArrayList.modCount:I
iload 4
iload 7
isub
iadd
putfield java.util.ArrayList.modCount:I
22: aload 0
aload 5
iload 7
iload 4
invokevirtual java.util.ArrayList.shiftTailOverGap:([Ljava/lang/Object;II)V
23: aload 9
athrow
24: StackMap locals:
StackMap stack:
aload 0
dup
getfield java.util.ArrayList.modCount:I
iload 4
iload 7
isub
iadd
putfield java.util.ArrayList.modCount:I
25: aload 0
aload 5
iload 7
iload 4
invokevirtual java.util.ArrayList.shiftTailOverGap:([Ljava/lang/Object;II)V
26: iconst_1
ireturn
end local 7 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 27 0 this Ljava/util/ArrayList<TE;>;
0 27 1 c Ljava/util/Collection<*>;
0 27 2 complement Z
0 27 3 from I
0 27 4 end I
2 27 5 es [Ljava/lang/Object;
3 27 6 r I
9 27 7 w I
11 14 8 e Ljava/lang/Object;
17 20 8 ex Ljava/lang/Throwable;
Exception table:
from to target type
9 15 16 Class java.lang.Throwable
9 20 20 any
Signature: (Ljava/util/Collection<*>;ZII)Z
MethodParameters:
Name Flags
c
complement
from final
end final
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.ArrayList.modCount:I
istore 2
start local 2 1: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
2: aload 1
aload 0
getfield java.util.ArrayList.size:I
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: int int
StackMap stack:
aload 1
aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
iload 3
aaload
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 0
getfield java.util.ArrayList.size:I
if_icmplt 5
end local 3 8: aload 0
getfield java.util.ArrayList.modCount:I
iload 2
if_icmpeq 10
9: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/util/ArrayList<TE;>;
0 11 1 s Ljava/io/ObjectOutputStream;
1 11 2 expectedModCount I
4 8 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 1
invokevirtual java.io.ObjectInputStream.readInt:()I
pop
2: aload 0
getfield java.util.ArrayList.size:I
ifle 12
3: invokestatic jdk.internal.access.SharedSecrets.getJavaObjectInputStreamAccess:()Ljdk/internal/access/JavaObjectInputStreamAccess;
aload 1
ldc [Ljava/lang/Object;
aload 0
getfield java.util.ArrayList.size:I
invokeinterface jdk.internal.access.JavaObjectInputStreamAccess.checkArray:(Ljava/io/ObjectInputStream;Ljava/lang/Class;I)V
4: aload 0
getfield java.util.ArrayList.size:I
anewarray java.lang.Object
astore 2
start local 2 5: iconst_0
istore 3
start local 3 6: goto 9
7: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 2
iload 3
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
aastore
8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 0
getfield java.util.ArrayList.size:I
if_icmplt 7
end local 3 10: aload 0
aload 2
putfield java.util.ArrayList.elementData:[Ljava/lang/Object;
end local 2 11: goto 16
StackMap locals:
StackMap stack:
12: aload 0
getfield java.util.ArrayList.size:I
ifne 15
13: aload 0
getstatic java.util.ArrayList.EMPTY_ELEMENTDATA:[Ljava/lang/Object;
putfield java.util.ArrayList.elementData:[Ljava/lang/Object;
14: goto 16
15: StackMap locals:
StackMap stack:
new java.io.InvalidObjectException
dup
new java.lang.StringBuilder
dup
ldc "Invalid size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.util.ArrayList.size:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljava/util/ArrayList<TE;>;
0 17 1 s Ljava/io/ObjectInputStream;
5 11 2 elements [Ljava/lang/Object;
6 10 3 i I
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
public java.util.ListIterator<E> listIterator(int);
descriptor: (I)Ljava/util/ListIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual java.util.ArrayList.rangeCheckForAdd:(I)V
1: new java.util.ArrayList$ListItr
dup
aload 0
iload 1
invokespecial java.util.ArrayList$ListItr.<init>:(Ljava/util/ArrayList;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/ArrayList<TE;>;
0 2 1 index I
Signature: (I)Ljava/util/ListIterator<TE;>;
MethodParameters:
Name Flags
index
public java.util.ListIterator<E> listIterator();
descriptor: ()Ljava/util/ListIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.util.ArrayList$ListItr
dup
aload 0
iconst_0
invokespecial java.util.ArrayList$ListItr.<init>:(Ljava/util/ArrayList;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
Signature: ()Ljava/util/ListIterator<TE;>;
public java.util.Iterator<E> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.ArrayList$Itr
dup
aload 0
invokespecial java.util.ArrayList$Itr.<init>:(Ljava/util/ArrayList;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
Signature: ()Ljava/util/Iterator<TE;>;
public java.util.List<E> subList(int, int);
descriptor: (II)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
aload 0
getfield java.util.ArrayList.size:I
invokestatic java.util.ArrayList.subListRangeCheck:(III)V
1: new java.util.ArrayList$SubList
dup
aload 0
iload 1
iload 2
invokespecial java.util.ArrayList$SubList.<init>:(Ljava/util/ArrayList;II)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/ArrayList<TE;>;
0 2 1 fromIndex I
0 2 2 toIndex I
Signature: (II)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
fromIndex
toIndex
public void forEach(java.util.function.Consumer<? super E>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield java.util.ArrayList.modCount:I
istore 2
start local 2 2: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 3
start local 3 3: aload 0
getfield java.util.ArrayList.size:I
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 8
6: StackMap locals: java.util.ArrayList java.util.function.Consumer int java.lang.Object[] int int
StackMap stack:
aload 1
aload 3
iload 5
invokestatic java.util.ArrayList.elementAt:([Ljava/lang/Object;I)Ljava/lang/Object;
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
7: iinc 5 1
StackMap locals:
StackMap stack:
8: aload 0
getfield java.util.ArrayList.modCount:I
iload 2
if_icmpne 9
iload 5
iload 4
if_icmplt 6
end local 5 9: StackMap locals:
StackMap stack:
aload 0
getfield java.util.ArrayList.modCount:I
iload 2
if_icmpeq 11
10: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/util/ArrayList<TE;>;
0 12 1 action Ljava/util/function/Consumer<-TE;>;
2 12 2 expectedModCount I
3 12 3 es [Ljava/lang/Object;
4 12 4 size I
5 9 5 i I
Signature: (Ljava/util/function/Consumer<-TE;>;)V
MethodParameters:
Name Flags
action
public java.util.Spliterator<E> spliterator();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new java.util.ArrayList$ArrayListSpliterator
dup
aload 0
iconst_0
iconst_m1
iconst_0
invokespecial java.util.ArrayList$ArrayListSpliterator.<init>:(Ljava/util/ArrayList;III)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
Signature: ()Ljava/util/Spliterator<TE;>;
private static long[] nBits(int);
descriptor: (I)[J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
isub
bipush 6
ishr
iconst_1
iadd
newarray 11
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 n I
MethodParameters:
Name Flags
n
private static void setBit(long[], int);
descriptor: ([JI)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
bipush 6
ishr
dup2
laload
lconst_1
iload 1
lshl
lor
lastore
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 bits [J
0 2 1 i I
MethodParameters:
Name Flags
bits
i
private static boolean isClear(long[], int);
descriptor: ([JI)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
bipush 6
ishr
laload
lconst_1
iload 1
lshl
land
lconst_0
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 bits [J
0 2 1 i I
MethodParameters:
Name Flags
bits
i
public boolean removeIf(java.util.function.Predicate<? super E>);
descriptor: (Ljava/util/function/Predicate;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 0
getfield java.util.ArrayList.size:I
invokevirtual java.util.ArrayList.removeIf:(Ljava/util/function/Predicate;II)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
0 1 1 filter Ljava/util/function/Predicate<-TE;>;
Signature: (Ljava/util/function/Predicate<-TE;>;)Z
MethodParameters:
Name Flags
filter
boolean removeIf(java.util.function.Predicate<? super E>, int, );
descriptor: (Ljava/util/function/Predicate;II)Z
flags: (0x0000)
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield java.util.ArrayList.modCount:I
istore 4
start local 4 2: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 5
start local 5 3: goto 5
StackMap locals: int java.lang.Object[]
StackMap stack:
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmpge 6
aload 1
aload 5
iload 2
invokestatic java.util.ArrayList.elementAt:([Ljava/lang/Object;I)Ljava/lang/Object;
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
ifeq 4
6: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmpge 26
7: iload 2
istore 6
start local 6 8: iload 3
iload 6
isub
invokestatic java.util.ArrayList.nBits:(I)[J
astore 7
start local 7 9: aload 7
iconst_0
lconst_1
lastore
10: iload 6
iconst_1
iadd
istore 2
goto 14
11: StackMap locals: int long[]
StackMap stack:
aload 1
aload 5
iload 2
invokestatic java.util.ArrayList.elementAt:([Ljava/lang/Object;I)Ljava/lang/Object;
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
ifeq 13
12: aload 7
iload 2
iload 6
isub
invokestatic java.util.ArrayList.setBit:([JI)V
13: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
14: iload 2
iload 3
if_icmplt 11
15: aload 0
getfield java.util.ArrayList.modCount:I
iload 4
if_icmpeq 17
16: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
17: StackMap locals:
StackMap stack:
aload 0
dup
getfield java.util.ArrayList.modCount:I
iconst_1
iadd
putfield java.util.ArrayList.modCount:I
18: iload 6
istore 8
start local 8 19: iload 6
istore 2
goto 23
20: StackMap locals: int
StackMap stack:
aload 7
iload 2
iload 6
isub
invokestatic java.util.ArrayList.isClear:([JI)Z
ifeq 22
21: aload 5
iload 8
iinc 8 1
aload 5
iload 2
aaload
aastore
22: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
23: iload 2
iload 3
if_icmplt 20
24: aload 0
aload 5
iload 8
iload 3
invokevirtual java.util.ArrayList.shiftTailOverGap:([Ljava/lang/Object;II)V
25: iconst_1
ireturn
end local 8 end local 7 end local 6 26: StackMap locals:
StackMap stack:
aload 0
getfield java.util.ArrayList.modCount:I
iload 4
if_icmpeq 28
27: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
28: StackMap locals:
StackMap stack:
iconst_0
ireturn
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 29 0 this Ljava/util/ArrayList<TE;>;
0 29 1 filter Ljava/util/function/Predicate<-TE;>;
0 29 2 i I
0 29 3 end I
2 29 4 expectedModCount I
3 29 5 es [Ljava/lang/Object;
8 26 6 beg I
9 26 7 deathRow [J
19 26 8 w I
Signature: (Ljava/util/function/Predicate<-TE;>;II)Z
MethodParameters:
Name Flags
filter
i
end final
public void replaceAll(java.util.function.UnaryOperator<E>);
descriptor: (Ljava/util/function/UnaryOperator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 0
getfield java.util.ArrayList.size:I
invokevirtual java.util.ArrayList.replaceAllRange:(Ljava/util/function/UnaryOperator;II)V
1: aload 0
dup
getfield java.util.ArrayList.modCount:I
iconst_1
iadd
putfield java.util.ArrayList.modCount:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/ArrayList<TE;>;
0 3 1 operator Ljava/util/function/UnaryOperator<TE;>;
Signature: (Ljava/util/function/UnaryOperator<TE;>;)V
MethodParameters:
Name Flags
operator
private void replaceAllRange(java.util.function.UnaryOperator<E>, int, );
descriptor: (Ljava/util/function/UnaryOperator;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield java.util.ArrayList.modCount:I
istore 4
start local 4 2: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 5
start local 5 3: goto 6
4: StackMap locals: int java.lang.Object[]
StackMap stack:
aload 5
iload 2
aload 1
aload 5
iload 2
invokestatic java.util.ArrayList.elementAt:([Ljava/lang/Object;I)Ljava/lang/Object;
invokeinterface java.util.function.UnaryOperator.apply:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
5: iinc 2 1
StackMap locals:
StackMap stack:
6: aload 0
getfield java.util.ArrayList.modCount:I
iload 4
if_icmpne 7
iload 2
iload 3
if_icmplt 4
7: StackMap locals:
StackMap stack:
aload 0
getfield java.util.ArrayList.modCount:I
iload 4
if_icmpeq 9
8: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
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 10 0 this Ljava/util/ArrayList<TE;>;
0 10 1 operator Ljava/util/function/UnaryOperator<TE;>;
0 10 2 i I
0 10 3 end I
2 10 4 expectedModCount I
3 10 5 es [Ljava/lang/Object;
Signature: (Ljava/util/function/UnaryOperator<TE;>;II)V
MethodParameters:
Name Flags
operator
i
end
public void sort(java.util.Comparator<? super E>);
descriptor: (Ljava/util/Comparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.ArrayList.modCount:I
istore 2
start local 2 1: aload 0
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
iconst_0
aload 0
getfield java.util.ArrayList.size:I
aload 1
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;IILjava/util/Comparator;)V
2: aload 0
getfield java.util.ArrayList.modCount:I
iload 2
if_icmpeq 4
3: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
4: StackMap locals: int
StackMap stack:
aload 0
dup
getfield java.util.ArrayList.modCount:I
iconst_1
iadd
putfield java.util.ArrayList.modCount:I
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/ArrayList<TE;>;
0 6 1 c Ljava/util/Comparator<-TE;>;
1 6 2 expectedModCount I
Signature: (Ljava/util/Comparator<-TE;>;)V
MethodParameters:
Name Flags
c
void checkInvariants();
descriptor: ()V
flags: (0x0000)
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/util/AbstractList<TE;>;Ljava/util/List<TE;>;Ljava/util/RandomAccess;Ljava/lang/Cloneable;Ljava/io/Serializable;
SourceFile: "ArrayList.java"
NestMembers:
java.util.ArrayList$ArrayListSpliterator java.util.ArrayList$Itr java.util.ArrayList$ListItr java.util.ArrayList$SubList java.util.ArrayList$SubList$1 java.util.ArrayList$SubList$2
InnerClasses:
final ArrayListSpliterator = java.util.ArrayList$ArrayListSpliterator of java.util.ArrayList
private Itr = java.util.ArrayList$Itr of java.util.ArrayList
private ListItr = java.util.ArrayList$ListItr of java.util.ArrayList
private SubList = java.util.ArrayList$SubList of java.util.ArrayList