class java.util.ArrayList$ListItr extends java.util.ArrayList<E>.Itr implements java.util.ListIterator<E>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.util.ArrayList$ListItr
super_class: java.util.ArrayList$Itr
{
final java.util.ArrayList this$0;
descriptor: Ljava/util/ArrayList;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.ArrayList, int);
descriptor: (Ljava/util/ArrayList;I)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield java.util.ArrayList$ListItr.this$0:Ljava/util/ArrayList;
1: aload 0
aload 1
invokespecial java.util.ArrayList$Itr.<init>:(Ljava/util/ArrayList;)V
2: aload 0
iload 2
putfield java.util.ArrayList$ListItr.cursor:I
3: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/ArrayList$ListItr;
0 4 2 index I
MethodParameters:
Name Flags
this$0 final
index
public boolean hasPrevious();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.ArrayList$ListItr.cursor:I
ifeq 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$ListItr;
public int nextIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.ArrayList$ListItr.cursor:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList$ListItr;
public int previousIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.ArrayList$ListItr.cursor:I
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/ArrayList$ListItr;
public E previous();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.util.ArrayList$ListItr.checkForComodification:()V
1: aload 0
getfield java.util.ArrayList$ListItr.cursor:I
iconst_1
isub
istore 1
start local 1 2: iload 1
ifge 4
3: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
4: StackMap locals: int
StackMap stack:
aload 0
getfield java.util.ArrayList$ListItr.this$0:Ljava/util/ArrayList;
getfield java.util.ArrayList.elementData:[Ljava/lang/Object;
astore 2
start local 2 5: iload 1
aload 2
arraylength
if_icmplt 7
6: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
7: StackMap locals: java.lang.Object[]
StackMap stack:
aload 0
iload 1
putfield java.util.ArrayList$ListItr.cursor:I
8: aload 2
aload 0
iload 1
dup_x1
putfield java.util.ArrayList$ListItr.lastRet:I
aaload
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/ArrayList$ListItr;
2 9 1 i I
5 9 2 elementData [Ljava/lang/Object;
Signature: ()TE;
public void set();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.ArrayList$ListItr.lastRet:I
ifge 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.ArrayList$ListItr.checkForComodification:()V
3: aload 0
getfield java.util.ArrayList$ListItr.this$0:Ljava/util/ArrayList;
aload 0
getfield java.util.ArrayList$ListItr.lastRet:I
aload 1
invokevirtual java.util.ArrayList.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
4: goto 7
StackMap locals:
StackMap stack: java.lang.IndexOutOfBoundsException
5: pop
6: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/util/ArrayList$ListItr;
0 8 1 e TE;
Exception table:
from to target type
3 4 5 Class java.lang.IndexOutOfBoundsException
Signature: (TE;)V
MethodParameters:
Name Flags
e
public void add();
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
invokevirtual java.util.ArrayList$ListItr.checkForComodification:()V
1: aload 0
getfield java.util.ArrayList$ListItr.cursor:I
istore 2
start local 2 2: aload 0
getfield java.util.ArrayList$ListItr.this$0:Ljava/util/ArrayList;
iload 2
aload 1
invokevirtual java.util.ArrayList.add:(ILjava/lang/Object;)V
3: aload 0
iload 2
iconst_1
iadd
putfield java.util.ArrayList$ListItr.cursor:I
4: aload 0
iconst_m1
putfield java.util.ArrayList$ListItr.lastRet:I
5: aload 0
aload 0
getfield java.util.ArrayList$ListItr.this$0:Ljava/util/ArrayList;
getfield java.util.ArrayList.modCount:I
putfield java.util.ArrayList$ListItr.expectedModCount:I
end local 2 6: goto 9
StackMap locals:
StackMap stack: java.lang.IndexOutOfBoundsException
7: pop
8: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/util/ArrayList$ListItr;
0 10 1 e TE;
2 6 2 i I
Exception table:
from to target type
1 6 7 Class java.lang.IndexOutOfBoundsException
Signature: (TE;)V
MethodParameters:
Name Flags
e
}
Signature: Ljava/util/ArrayList<TE;>.Itr;Ljava/util/ListIterator<TE;>;
SourceFile: "ArrayList.java"
NestHost: java.util.ArrayList
InnerClasses:
private Itr = java.util.ArrayList$Itr of java.util.ArrayList
private ListItr = java.util.ArrayList$ListItr of java.util.ArrayList