public class org.apache.commons.collections4.iterators.ObjectArrayIterator<E> implements org.apache.commons.collections4.ResettableIterator<E>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.iterators.ObjectArrayIterator
super_class: java.lang.Object
{
final E[] array;
descriptor: [Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Signature: [TE;
final int startIndex;
descriptor: I
flags: (0x0010) ACC_FINAL
final int endIndex;
descriptor: I
flags: (0x0010) ACC_FINAL
int index;
descriptor: I
flags: (0x0000)
public void <init>();
descriptor: ([Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokespecial org.apache.commons.collections4.iterators.ObjectArrayIterator.<init>:([Ljava/lang/Object;II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/iterators/ObjectArrayIterator<TE;>;
0 2 1 array [Ljava/lang/Object;
Signature: ([TE;)V
MethodParameters:
Name Flags
array final
public void <init>(E[], );
descriptor: ([Ljava/lang/Object;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
aload 1
arraylength
invokespecial org.apache.commons.collections4.iterators.ObjectArrayIterator.<init>:([Ljava/lang/Object;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/iterators/ObjectArrayIterator<TE;>;
0 2 1 array [Ljava/lang/Object;
0 2 2 start I
Signature: ([TE;I)V
MethodParameters:
Name Flags
array final
start final
public void <init>(E[], int, );
descriptor: ([Ljava/lang/Object;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.commons.collections4.iterators.ObjectArrayIterator.index:I
2: iload 2
ifge 4
3: new java.lang.ArrayIndexOutOfBoundsException
dup
ldc "Start index must not be less than zero"
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: org.apache.commons.collections4.iterators.ObjectArrayIterator java.lang.Object[] int int
StackMap stack:
iload 3
aload 1
arraylength
if_icmple 6
5: new java.lang.ArrayIndexOutOfBoundsException
dup
ldc "End index must not be greater than the array length"
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iload 2
aload 1
arraylength
if_icmple 8
7: new java.lang.ArrayIndexOutOfBoundsException
dup
ldc "Start index must not be greater than the array length"
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpge 10
9: new java.lang.IllegalArgumentException
dup
ldc "End index must not be less than start index"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.commons.collections4.iterators.ObjectArrayIterator.array:[Ljava/lang/Object;
11: aload 0
iload 2
putfield org.apache.commons.collections4.iterators.ObjectArrayIterator.startIndex:I
12: aload 0
iload 3
putfield org.apache.commons.collections4.iterators.ObjectArrayIterator.endIndex:I
13: aload 0
iload 2
putfield org.apache.commons.collections4.iterators.ObjectArrayIterator.index:I
14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/commons/collections4/iterators/ObjectArrayIterator<TE;>;
0 15 1 array [Ljava/lang/Object;
0 15 2 start I
0 15 3 end I
Signature: ([TE;II)V
MethodParameters:
Name Flags
array final
start final
end final
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.iterators.ObjectArrayIterator.index:I
aload 0
getfield org.apache.commons.collections4.iterators.ObjectArrayIterator.endIndex: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/iterators/ObjectArrayIterator<TE;>;
public E next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.collections4.iterators.ObjectArrayIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.iterators.ObjectArrayIterator.array:[Ljava/lang/Object;
aload 0
dup
getfield org.apache.commons.collections4.iterators.ObjectArrayIterator.index:I
dup_x1
iconst_1
iadd
putfield org.apache.commons.collections4.iterators.ObjectArrayIterator.index:I
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/iterators/ObjectArrayIterator<TE;>;
Signature: ()TE;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "remove() method is not supported for an ObjectArrayIterator"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/iterators/ObjectArrayIterator<TE;>;
public E[] getArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.iterators.ObjectArrayIterator.array:[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/iterators/ObjectArrayIterator<TE;>;
Signature: ()[TE;
public int getStartIndex();
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.iterators.ObjectArrayIterator.startIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/iterators/ObjectArrayIterator<TE;>;
public int getEndIndex();
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.iterators.ObjectArrayIterator.endIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/iterators/ObjectArrayIterator<TE;>;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.commons.collections4.iterators.ObjectArrayIterator.startIndex:I
putfield org.apache.commons.collections4.iterators.ObjectArrayIterator.index:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/iterators/ObjectArrayIterator<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Lorg/apache/commons/collections4/ResettableIterator<TE;>;
SourceFile: "ObjectArrayIterator.java"