public class org.apache.commons.collections4.list.TreeList<E> extends java.util.AbstractList<E>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.list.TreeList
super_class: java.util.AbstractList
{
private org.apache.commons.collections4.list.TreeList$AVLNode<E> root;
descriptor: Lorg/apache/commons/collections4/list/TreeList$AVLNode;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/apache/commons/collections4/list/TreeList$AVLNode<TE;>;
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.AbstractList.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
public void <init>(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, 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.isEmpty:()Z
ifne 4
2: aload 0
new org.apache.commons.collections4.list.TreeList$AVLNode
dup
aload 1
invokespecial org.apache.commons.collections4.list.TreeList$AVLNode.<init>:(Ljava/util/Collection;)V
putfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
3: aload 0
aload 1
invokeinterface java.util.Collection.size:()I
putfield org.apache.commons.collections4.list.TreeList.size:I
4: StackMap locals: org.apache.commons.collections4.list.TreeList java.util.Collection
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
0 5 1 coll Ljava/util/Collection<+TE;>;
Signature: (Ljava/util/Collection<+TE;>;)V
MethodParameters:
Name Flags
coll final
public E get();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_0
aload 0
invokevirtual org.apache.commons.collections4.list.TreeList.size:()I
iconst_1
isub
invokevirtual org.apache.commons.collections4.list.TreeList.checkInterval:(III)V
1: aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
iload 1
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.get:(I)Lorg/apache/commons/collections4/list/TreeList$AVLNode;
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.getValue:()Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
0 2 1 index I
Signature: (I)TE;
MethodParameters:
Name Flags
index final
public int size();
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.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
public java.util.Iterator<E> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.commons.collections4.list.TreeList.listIterator:(I)Ljava/util/ListIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
Signature: ()Ljava/util/Iterator<TE;>;
public java.util.ListIterator<E> listIterator();
descriptor: ()Ljava/util/ListIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.commons.collections4.list.TreeList.listIterator:(I)Ljava/util/ListIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
Signature: ()Ljava/util/ListIterator<TE;>;
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
iconst_0
aload 0
invokevirtual org.apache.commons.collections4.list.TreeList.size:()I
invokevirtual org.apache.commons.collections4.list.TreeList.checkInterval:(III)V
1: new org.apache.commons.collections4.list.TreeList$TreeListIterator
dup
aload 0
iload 1
invokespecial org.apache.commons.collections4.list.TreeList$TreeListIterator.<init>:(Lorg/apache/commons/collections4/list/TreeList;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
0 2 1 fromIndex I
Signature: (I)Ljava/util/ListIterator<TE;>;
MethodParameters:
Name Flags
fromIndex final
public int indexOf(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
ifnonnull 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
aload 1
aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
getfield org.apache.commons.collections4.list.TreeList$AVLNode.relativePosition:I
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.indexOf:(Ljava/lang/Object;I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
0 3 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object final
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 org.apache.commons.collections4.list.TreeList.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 Lorg/apache/commons/collections4/list/TreeList<TE;>;
0 2 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object final
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.collections4.list.TreeList.size:()I
anewarray java.lang.Object
astore 1
start local 1 1: aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
ifnull 3
2: aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
aload 1
aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
getfield org.apache.commons.collections4.list.TreeList$AVLNode.relativePosition:I
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.toArray:([Ljava/lang/Object;I)V
3: StackMap locals: java.lang.Object[]
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
1 4 1 array [Ljava/lang/Object;
public void add(int, );
descriptor: (ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
getfield org.apache.commons.collections4.list.TreeList.modCount:I
iconst_1
iadd
putfield org.apache.commons.collections4.list.TreeList.modCount:I
1: aload 0
iload 1
iconst_0
aload 0
invokevirtual org.apache.commons.collections4.list.TreeList.size:()I
invokevirtual org.apache.commons.collections4.list.TreeList.checkInterval:(III)V
2: aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
ifnonnull 5
3: aload 0
new org.apache.commons.collections4.list.TreeList$AVLNode
dup
iload 1
aload 2
aconst_null
aconst_null
invokespecial org.apache.commons.collections4.list.TreeList$AVLNode.<init>:(ILjava/lang/Object;Lorg/apache/commons/collections4/list/TreeList$AVLNode;Lorg/apache/commons/collections4/list/TreeList$AVLNode;)V
putfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
iload 1
aload 2
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.insert:(ILjava/lang/Object;)Lorg/apache/commons/collections4/list/TreeList$AVLNode;
putfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
6: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.commons.collections4.list.TreeList.size:I
iconst_1
iadd
putfield org.apache.commons.collections4.list.TreeList.size:I
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
0 8 1 index I
0 8 2 obj TE;
Signature: (ITE;)V
MethodParameters:
Name Flags
index final
obj final
public boolean addAll(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.commons.collections4.list.TreeList.modCount:I
aload 1
invokeinterface java.util.Collection.size:()I
iadd
putfield org.apache.commons.collections4.list.TreeList.modCount:I
3: new org.apache.commons.collections4.list.TreeList$AVLNode
dup
aload 1
invokespecial org.apache.commons.collections4.list.TreeList$AVLNode.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 4: aload 0
aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
ifnonnull 5
aload 2
goto 6
StackMap locals: org.apache.commons.collections4.list.TreeList java.util.Collection org.apache.commons.collections4.list.TreeList$AVLNode
StackMap stack: org.apache.commons.collections4.list.TreeList
5: aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
aload 2
aload 0
getfield org.apache.commons.collections4.list.TreeList.size:I
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.addAll:(Lorg/apache/commons/collections4/list/TreeList$AVLNode;I)Lorg/apache/commons/collections4/list/TreeList$AVLNode;
StackMap locals: org.apache.commons.collections4.list.TreeList java.util.Collection org.apache.commons.collections4.list.TreeList$AVLNode
StackMap stack: org.apache.commons.collections4.list.TreeList org.apache.commons.collections4.list.TreeList$AVLNode
6: putfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
7: aload 0
dup
getfield org.apache.commons.collections4.list.TreeList.size:I
aload 1
invokeinterface java.util.Collection.size:()I
iadd
putfield org.apache.commons.collections4.list.TreeList.size:I
8: iconst_1
ireturn
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<TE;>;
0 9 1 c Ljava/util/Collection<+TE;>;
4 9 2 cTree Lorg/apache/commons/collections4/list/TreeList$AVLNode<TE;>;
Signature: (Ljava/util/Collection<+TE;>;)Z
MethodParameters:
Name Flags
c final
public E set(int, );
descriptor: (ILjava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iconst_0
aload 0
invokevirtual org.apache.commons.collections4.list.TreeList.size:()I
iconst_1
isub
invokevirtual org.apache.commons.collections4.list.TreeList.checkInterval:(III)V
1: aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
iload 1
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.get:(I)Lorg/apache/commons/collections4/list/TreeList$AVLNode;
astore 3
start local 3 2: aload 3
getfield org.apache.commons.collections4.list.TreeList$AVLNode.value:Ljava/lang/Object;
astore 4
start local 4 3: aload 3
aload 2
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.setValue:(Ljava/lang/Object;)V
4: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
0 5 1 index I
0 5 2 obj TE;
2 5 3 node Lorg/apache/commons/collections4/list/TreeList$AVLNode<TE;>;
3 5 4 result TE;
Signature: (ITE;)TE;
MethodParameters:
Name Flags
index final
obj final
public E remove();
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.apache.commons.collections4.list.TreeList.modCount:I
iconst_1
iadd
putfield org.apache.commons.collections4.list.TreeList.modCount:I
1: aload 0
iload 1
iconst_0
aload 0
invokevirtual org.apache.commons.collections4.list.TreeList.size:()I
iconst_1
isub
invokevirtual org.apache.commons.collections4.list.TreeList.checkInterval:(III)V
2: aload 0
iload 1
invokevirtual org.apache.commons.collections4.list.TreeList.get:(I)Ljava/lang/Object;
astore 2
start local 2 3: aload 0
aload 0
getfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
iload 1
invokevirtual org.apache.commons.collections4.list.TreeList$AVLNode.remove:(I)Lorg/apache/commons/collections4/list/TreeList$AVLNode;
putfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
4: aload 0
dup
getfield org.apache.commons.collections4.list.TreeList.size:I
iconst_1
isub
putfield org.apache.commons.collections4.list.TreeList.size:I
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
0 6 1 index I
3 6 2 result TE;
Signature: (I)TE;
MethodParameters:
Name Flags
index final
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield org.apache.commons.collections4.list.TreeList.modCount:I
iconst_1
iadd
putfield org.apache.commons.collections4.list.TreeList.modCount:I
1: aload 0
aconst_null
putfield org.apache.commons.collections4.list.TreeList.root:Lorg/apache/commons/collections4/list/TreeList$AVLNode;
2: aload 0
iconst_0
putfield org.apache.commons.collections4.list.TreeList.size:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
private void checkInterval(int, int, int);
descriptor: (III)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
iload 2
if_icmplt 1
iload 1
iload 3
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
new java.lang.StringBuilder
dup
ldc "Invalid 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
invokevirtual org.apache.commons.collections4.list.TreeList.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/list/TreeList<TE;>;
0 3 1 index I
0 3 2 startIndex I
0 3 3 endIndex I
MethodParameters:
Name Flags
index final
startIndex final
endIndex final
static int access$0(org.apache.commons.collections4.list.TreeList);
descriptor: (Lorg/apache/commons/collections4/list/TreeList;)I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield org.apache.commons.collections4.list.TreeList.modCount:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <E:Ljava/lang/Object;>Ljava/util/AbstractList<TE;>;
SourceFile: "TreeList.java"
NestMembers:
org.apache.commons.collections4.list.TreeList$AVLNode org.apache.commons.collections4.list.TreeList$TreeListIterator
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