public final class org.eclipse.collections.impl.list.mutable.MutableListIterator<T> extends org.eclipse.collections.impl.list.mutable.MutableIterator<T> implements java.util.ListIterator<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.list.mutable.MutableListIterator
super_class: org.eclipse.collections.impl.list.mutable.MutableIterator
{
public void <init>(java.util.List<T>, );
descriptor: (Ljava/util/List;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.eclipse.collections.impl.list.mutable.MutableIterator.<init>:(Ljava/util/List;)V
1: aload 0
iload 2
putfield org.eclipse.collections.impl.list.mutable.MutableListIterator.currentIndex:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/list/mutable/MutableListIterator<TT;>;
0 3 1 list Ljava/util/List<TT;>;
0 3 2 index I
Signature: (Ljava/util/List<TT;>;I)V
MethodParameters:
Name Flags
list
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 org.eclipse.collections.impl.list.mutable.MutableListIterator.currentIndex: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 Lorg/eclipse/collections/impl/list/mutable/MutableListIterator<TT;>;
public T previous();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.list.mutable.MutableListIterator.currentIndex:I
iconst_1
isub
istore 1
start local 1 1: aload 0
getfield org.eclipse.collections.impl.list.mutable.MutableListIterator.list:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 2
start local 2 2: aload 0
iload 1
putfield org.eclipse.collections.impl.list.mutable.MutableListIterator.currentIndex:I
3: aload 0
iload 1
putfield org.eclipse.collections.impl.list.mutable.MutableListIterator.lastIndex:I
4: aload 2
5: areturn
end local 2 end local 1 6: StackMap locals:
StackMap stack: java.lang.IndexOutOfBoundsException
pop
7: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/collections/impl/list/mutable/MutableListIterator<TT;>;
1 6 1 i I
2 6 2 previous TT;
Exception table:
from to target type
0 5 6 Class java.lang.IndexOutOfBoundsException
Signature: ()TT;
public int nextIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.list.mutable.MutableListIterator.currentIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/list/mutable/MutableListIterator<TT;>;
public int previousIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.list.mutable.MutableListIterator.currentIndex:I
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/list/mutable/MutableListIterator<TT;>;
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 org.eclipse.collections.impl.list.mutable.MutableListIterator.lastIndex:I
iconst_m1
if_icmpne 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.list.mutable.MutableListIterator.list:Ljava/util/List;
aload 0
getfield org.eclipse.collections.impl.list.mutable.MutableListIterator.lastIndex:I
aload 1
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
3: goto 6
4: StackMap locals:
StackMap stack: java.lang.IndexOutOfBoundsException
pop
5: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/collections/impl/list/mutable/MutableListIterator<TT;>;
0 7 1 o TT;
Exception table:
from to target type
2 3 4 Class java.lang.IndexOutOfBoundsException
Signature: (TT;)V
MethodParameters:
Name Flags
o
public void add();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.list.mutable.MutableListIterator.list:Ljava/util/List;
aload 0
dup
getfield org.eclipse.collections.impl.list.mutable.MutableListIterator.currentIndex:I
dup_x1
iconst_1
iadd
putfield org.eclipse.collections.impl.list.mutable.MutableListIterator.currentIndex:I
aload 1
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
1: aload 0
iconst_m1
putfield org.eclipse.collections.impl.list.mutable.MutableListIterator.lastIndex:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/list/mutable/MutableListIterator<TT;>;
0 3 1 o TT;
Signature: (TT;)V
MethodParameters:
Name Flags
o
}
Signature: <T:Ljava/lang/Object;>Lorg/eclipse/collections/impl/list/mutable/MutableIterator<TT;>;Ljava/util/ListIterator<TT;>;
SourceFile: "MutableListIterator.java"