public class org.bouncycastle.util.Arrays$Iterator<T> implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.util.Arrays$Iterator
super_class: java.lang.Object
{
private final T[] dataArray;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: [TT;
private int position;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
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
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.bouncycastle.util.Arrays$Iterator.position:I
2: aload 0
aload 1
putfield org.bouncycastle.util.Arrays$Iterator.dataArray:[Ljava/lang/Object;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/util/Arrays$Iterator<TT;>;
0 4 1 dataArray [Ljava/lang/Object;
Signature: ([TT;)V
MethodParameters:
Name Flags
dataArray
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.bouncycastle.util.Arrays$Iterator.position:I
aload 0
getfield org.bouncycastle.util.Arrays$Iterator.dataArray:[Ljava/lang/Object;
arraylength
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/bouncycastle/util/Arrays$Iterator<TT;>;
public T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.util.Arrays$Iterator.position:I
aload 0
getfield org.bouncycastle.util.Arrays$Iterator.dataArray:[Ljava/lang/Object;
arraylength
if_icmpne 2
1: new java.util.NoSuchElementException
dup
new java.lang.StringBuilder
dup
ldc "Out of elements: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.bouncycastle.util.Arrays$Iterator.position:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.util.Arrays$Iterator.dataArray:[Ljava/lang/Object;
aload 0
dup
getfield org.bouncycastle.util.Arrays$Iterator.position:I
dup_x1
iconst_1
iadd
putfield org.bouncycastle.util.Arrays$Iterator.position:I
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/util/Arrays$Iterator<TT;>;
Signature: ()TT;
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 "Cannot remove element from an Array."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/util/Arrays$Iterator<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "Arrays.java"
NestHost: org.bouncycastle.util.Arrays
InnerClasses:
public Iterator = org.bouncycastle.util.Arrays$Iterator of org.bouncycastle.util.Arrays