class org.apache.commons.collections4.list.TreeList$TreeListIterator<E> implements java.util.ListIterator<E>, org.apache.commons.collections4.OrderedIterator<E>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.collections4.list.TreeList$TreeListIterator
super_class: java.lang.Object
{
private final org.apache.commons.collections4.list.TreeList<E> parent;
descriptor: Lorg/apache/commons/collections4/list/TreeList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/commons/collections4/list/TreeList<TE;>;
private org.apache.commons.collections4.list.TreeList$AVLNode<E> next;
descriptor: Lorg/apache/commons/collections4/list/TreeList$AVLNode;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/apache/commons/collections4/list/TreeList$AVLNode<TE;>;
private int nextIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.apache.commons.collections4.list.TreeList$AVLNode<E> current;
descriptor: Lorg/apache/commons/collections4/list/TreeList$AVLNode;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/apache/commons/collections4/list/TreeList$AVLNode<TE;>;
private int currentIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int expectedModCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected void <init>(org.apache.commons.collections4.list.TreeList<E>, );
descriptor: (Lorg/apache/commons/collections4/list/TreeList;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections4/list/TreeList;
2: aload 0
aload 1
invokestatic org.apache.commons.collections4.list.TreeList.access$0:(Lorg/apache/commons/collections4/list/TreeList;)I
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.expectedModCount:I
3: aload 0
aload 1
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
ifnonnull 4
aconst_null
goto 5
StackMap locals: org.apache.commons.collections4.list.TreeList$TreeListIterator org.apache.commons.collections4.list.TreeList int
StackMap stack: org.apache.commons.collections4.list.TreeList$TreeListIterator
4: aload 1
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
iload 2
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.get:(I)Lorg/apache/commons/collections4/list/TreeList$AVLNode;
StackMap locals: org.apache.commons.collections4.list.TreeList$TreeListIterator org.apache.commons.collections4.list.TreeList int
StackMap stack: org.apache.commons.collections4.list.TreeList$TreeListIterator org.apache.commons.collections4.list.TreeList$AVLNode
5: putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
6: aload 0
iload 2
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
7: aload 0
iconst_m1
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.currentIndex:I
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/collections4/list/TreeList$TreeListIterator<TE;>;
0 9 1 parent Lorg/apache/commons/collections4/list/TreeList<TE;>;
0 9 2 fromIndex I
Exceptions:
throws java.lang.IndexOutOfBoundsException
Signature: (Lorg/apache/commons/collections4/list/TreeList<TE;>;I)V
MethodParameters:
Name Flags
parent final
fromIndex final
protected void checkModCount();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections4/list/TreeList;
invokestatic org.apache.commons.collections4.list.TreeList.access$0:(Lorg/apache/commons/collections4/list/TreeList;)I
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.expectedModCount:I
if_icmpeq 2
1: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/list/TreeList$TreeListIterator<TE;>;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections4/list/TreeList;
invokevirtual org.apache.commons.collections4.list.TreeList.size:()I
if_icmpge 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/apache/commons/collections4/list/TreeList$TreeListIterator<TE;>;
public E next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.collections4.list.TreeList$TreeListIterator.checkModCount:()V
1: aload 0
invokevirtual org.apache.commons.collections4.list.TreeList$TreeListIterator.hasNext:()Z
ifne 3
2: new java.util.NoSuchElementException
dup
new java.lang.StringBuilder
dup
ldc "No element at index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
ifnonnull 5
4: aload 0
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections4/list/TreeList;
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.get:(I)Lorg/apache/commons/collections4/list/TreeList$AVLNode;
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.getValue:()Ljava/lang/Object;
astore 1
start local 1 6: aload 0
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.current:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
7: aload 0
aload 0
dup
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
dup_x1
iconst_1
iadd
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.currentIndex:I
8: aload 0
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.next:()Lorg/apache/commons/collections4/list/TreeList$AVLNode;
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/commons/collections4/list/TreeList$TreeListIterator<TE;>;
6 10 1 value TE;
Signature: ()TE;
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.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
ifle 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/apache/commons/collections4/list/TreeList$TreeListIterator<TE;>;
public E previous();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.collections4.list.TreeList$TreeListIterator.checkModCount:()V
1: aload 0
invokevirtual org.apache.commons.collections4.list.TreeList$TreeListIterator.hasPrevious:()Z
ifne 3
2: new java.util.NoSuchElementException
dup
ldc "Already at start of list."
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
ifnonnull 6
4: aload 0
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections4/list/TreeList;
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
iconst_1
isub
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.get:(I)Lorg/apache/commons/collections4/list/TreeList$AVLNode;
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.previous:()Lorg/apache/commons/collections4/list/TreeList$AVLNode;
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.getValue:()Ljava/lang/Object;
astore 1
start local 1 8: aload 0
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.current:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
9: aload 0
aload 0
dup
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
iconst_1
isub
dup_x1
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.currentIndex:I
10: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/commons/collections4/list/TreeList$TreeListIterator<TE;>;
8 11 1 value TE;
Signature: ()TE;
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.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/list/TreeList$TreeListIterator<TE;>;
public int previousIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:()I
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/list/TreeList$TreeListIterator<TE;>;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.collections4.list.TreeList$TreeListIterator.checkModCount:()V
1: aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.currentIndex:I
iconst_m1
if_icmpne 3
2: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections4/list/TreeList;
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.currentIndex:I
invokevirtual org.apache.commons.collections4.list.TreeList.remove:(I)Ljava/lang/Object;
pop
4: aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.currentIndex:I
if_icmpeq 6
5: aload 0
dup
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
iconst_1
isub
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
6: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
7: aload 0
aconst_null
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.current:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
8: aload 0
iconst_m1
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.currentIndex:I
9: aload 0
dup
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.expectedModCount:I
iconst_1
iadd
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.expectedModCount:I
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/commons/collections4/list/TreeList$TreeListIterator<TE;>;
public void set();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.commons.collections4.list.TreeList$TreeListIterator.checkModCount:()V
1: aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.current:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
ifnonnull 3
2: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.current:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
aload 1
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.setValue:(Ljava/lang/Object;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/list/TreeList$TreeListIterator<TE;>;
0 5 1 obj TE;
Signature: (TE;)V
MethodParameters:
Name Flags
obj final
public void add();
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
invokevirtual org.apache.commons.collections4.list.TreeList$TreeListIterator.checkModCount:()V
1: aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections4/list/TreeList;
aload 0
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
aload 1
invokevirtual org.apache.commons.collections4.list.TreeList.add:(ILjava/lang/Object;)V
2: aload 0
aconst_null
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.current:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
3: aload 0
iconst_m1
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.currentIndex:I
4: aload 0
dup
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
iconst_1
iadd
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.nextIndex:I
5: aload 0
dup
getfield org.apache.commons.collections4.list.TreeList$TreeListIterator.expectedModCount:I
iconst_1
iadd
putfield org.apache.commons.collections4.list.TreeList$TreeListIterator.expectedModCount:I
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/collections4/list/TreeList$TreeListIterator<TE;>;
0 7 1 obj TE;
Signature: (TE;)V
MethodParameters:
Name Flags
obj final
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/ListIterator<TE;>;Lorg/apache/commons/collections4/OrderedIterator<TE;>;
SourceFile: "TreeList.java"
NestHost: org.apache.commons.collections4.list.TreeList
InnerClasses:
AVLNode = org.apache.commons.collections4.list.TreeList$AVLNode of org.apache.commons.collections4.list.TreeList
TreeListIterator = org.apache.commons.collections4.list.TreeList$TreeListIterator of org.apache.commons.collections4.list.TreeList