class org.apache.commons.collections.list.TreeList$TreeListIterator implements java.util.ListIterator, org.apache.commons.collections.OrderedIterator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.collections.list.TreeList$TreeListIterator
super_class: java.lang.Object
{
protected final org.apache.commons.collections.list.TreeList parent;
descriptor: Lorg/apache/commons/collections/list/TreeList;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected org.apache.commons.collections.list.TreeList$AVLNode next;
descriptor: Lorg/apache/commons/collections/list/TreeList$AVLNode;
flags: (0x0004) ACC_PROTECTED
protected int nextIndex;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected org.apache.commons.collections.list.TreeList$AVLNode current;
descriptor: Lorg/apache/commons/collections/list/TreeList$AVLNode;
flags: (0x0004) ACC_PROTECTED
protected int currentIndex;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int expectedModCount;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected void <init>(org.apache.commons.collections.list.TreeList, int);
descriptor: (Lorg/apache/commons/collections/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.collections.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections/list/TreeList;
2: aload 0
aload 1
invokestatic org.apache.commons.collections.list.TreeList.access$0:(Lorg/apache/commons/collections/list/TreeList;)I
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.expectedModCount:I
3: aload 0
aload 1
getfield org.apache.commons.collections.list.TreeList.root:Lorg/apache/commons/collections/list/TreeList$AVLNode;
ifnonnull 4
aconst_null
goto 5
StackMap locals: org.apache.commons.collections.list.TreeList$TreeListIterator org.apache.commons.collections.list.TreeList int
StackMap stack: org.apache.commons.collections.list.TreeList$TreeListIterator
4: aload 1
getfield org.apache.commons.collections.list.TreeList.root:Lorg/apache/commons/collections/list/TreeList$AVLNode;
iload 2
invokevirtual org.apache.commons.collections.list.TreeList$AVLNode.get:(I)Lorg/apache/commons/collections/list/TreeList$AVLNode;
StackMap locals: org.apache.commons.collections.list.TreeList$TreeListIterator org.apache.commons.collections.list.TreeList int
StackMap stack: org.apache.commons.collections.list.TreeList$TreeListIterator org.apache.commons.collections.list.TreeList$AVLNode
5: putfield org.apache.commons.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
6: aload 0
iload 2
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
7: aload 0
iconst_m1
putfield org.apache.commons.collections.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/collections/list/TreeList$TreeListIterator;
0 9 1 parent Lorg/apache/commons/collections/list/TreeList;
0 9 2 fromIndex I
Exceptions:
throws java.lang.IndexOutOfBoundsException
MethodParameters:
Name Flags
parent
fromIndex
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.collections.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections/list/TreeList;
invokestatic org.apache.commons.collections.list.TreeList.access$0:(Lorg/apache/commons/collections/list/TreeList;)I
aload 0
getfield org.apache.commons.collections.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/collections/list/TreeList$TreeListIterator;
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.collections.list.TreeList$TreeListIterator.nextIndex:I
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections/list/TreeList;
invokevirtual org.apache.commons.collections.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/collections/list/TreeList$TreeListIterator;
public java.lang.Object 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.collections.list.TreeList$TreeListIterator.checkModCount:()V
1: aload 0
invokevirtual org.apache.commons.collections.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.collections.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.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
ifnonnull 5
4: aload 0
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections/list/TreeList;
getfield org.apache.commons.collections.list.TreeList.root:Lorg/apache/commons/collections/list/TreeList$AVLNode;
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
invokevirtual org.apache.commons.collections.list.TreeList$AVLNode.get:(I)Lorg/apache/commons/collections/list/TreeList$AVLNode;
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
invokevirtual org.apache.commons.collections.list.TreeList$AVLNode.getValue:()Ljava/lang/Object;
astore 1
start local 1 6: aload 0
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.current:Lorg/apache/commons/collections/list/TreeList$AVLNode;
7: aload 0
aload 0
dup
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
dup_x1
iconst_1
iadd
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.currentIndex:I
8: aload 0
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
invokevirtual org.apache.commons.collections.list.TreeList$AVLNode.next:()Lorg/apache/commons/collections/list/TreeList$AVLNode;
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/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/collections/list/TreeList$TreeListIterator;
6 10 1 value Ljava/lang/Object;
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.collections.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/collections/list/TreeList$TreeListIterator;
public java.lang.Object 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.collections.list.TreeList$TreeListIterator.checkModCount:()V
1: aload 0
invokevirtual org.apache.commons.collections.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.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
ifnonnull 6
4: aload 0
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections/list/TreeList;
getfield org.apache.commons.collections.list.TreeList.root:Lorg/apache/commons/collections/list/TreeList$AVLNode;
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
iconst_1
isub
invokevirtual org.apache.commons.collections.list.TreeList$AVLNode.get:(I)Lorg/apache/commons/collections/list/TreeList$AVLNode;
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
invokevirtual org.apache.commons.collections.list.TreeList$AVLNode.previous:()Lorg/apache/commons/collections/list/TreeList$AVLNode;
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
invokevirtual org.apache.commons.collections.list.TreeList$AVLNode.getValue:()Ljava/lang/Object;
astore 1
start local 1 8: aload 0
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.current:Lorg/apache/commons/collections/list/TreeList$AVLNode;
9: aload 0
aload 0
dup
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
iconst_1
isub
dup_x1
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
putfield org.apache.commons.collections.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/collections/list/TreeList$TreeListIterator;
8 11 1 value Ljava/lang/Object;
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.collections.list.TreeList$TreeListIterator.nextIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections/list/TreeList$TreeListIterator;
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.collections.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/collections/list/TreeList$TreeListIterator;
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.collections.list.TreeList$TreeListIterator.checkModCount:()V
1: aload 0
getfield org.apache.commons.collections.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.collections.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections/list/TreeList;
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.currentIndex:I
invokevirtual org.apache.commons.collections.list.TreeList.remove:(I)Ljava/lang/Object;
pop
4: aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.currentIndex:I
if_icmpeq 6
5: aload 0
dup
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
iconst_1
isub
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
6: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.next:Lorg/apache/commons/collections/list/TreeList$AVLNode;
7: aload 0
aconst_null
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.current:Lorg/apache/commons/collections/list/TreeList$AVLNode;
8: aload 0
iconst_m1
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.currentIndex:I
9: aload 0
dup
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.expectedModCount:I
iconst_1
iadd
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.expectedModCount:I
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/commons/collections/list/TreeList$TreeListIterator;
public void set(java.lang.Object);
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.collections.list.TreeList$TreeListIterator.checkModCount:()V
1: aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.current:Lorg/apache/commons/collections/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.collections.list.TreeList$TreeListIterator.current:Lorg/apache/commons/collections/list/TreeList$AVLNode;
aload 1
invokevirtual org.apache.commons.collections.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/collections/list/TreeList$TreeListIterator;
0 5 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public void add(java.lang.Object);
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.collections.list.TreeList$TreeListIterator.checkModCount:()V
1: aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.parent:Lorg/apache/commons/collections/list/TreeList;
aload 0
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
aload 1
invokevirtual org.apache.commons.collections.list.TreeList.add:(ILjava/lang/Object;)V
2: aload 0
aconst_null
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.current:Lorg/apache/commons/collections/list/TreeList$AVLNode;
3: aload 0
iconst_m1
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.currentIndex:I
4: aload 0
dup
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
iconst_1
iadd
putfield org.apache.commons.collections.list.TreeList$TreeListIterator.nextIndex:I
5: aload 0
dup
getfield org.apache.commons.collections.list.TreeList$TreeListIterator.expectedModCount:I
iconst_1
iadd
putfield org.apache.commons.collections.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/collections/list/TreeList$TreeListIterator;
0 7 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
}
SourceFile: "TreeList.java"
NestHost: org.apache.commons.collections.list.TreeList
InnerClasses:
AVLNode = org.apache.commons.collections.list.TreeList$AVLNode of org.apache.commons.collections.list.TreeList
TreeListIterator = org.apache.commons.collections.list.TreeList$TreeListIterator of org.apache.commons.collections.list.TreeList