class org.glassfish.grizzly.utils.ArraySet$Itr implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.glassfish.grizzly.utils.ArraySet$Itr
super_class: java.lang.Object
{
int cursor;
descriptor: I
flags: (0x0000)
T lastRet;
descriptor: Ljava/lang/Object;
flags: (0x0000)
Signature: TT;
T nextElem;
descriptor: Ljava/lang/Object;
flags: (0x0000)
Signature: TT;
final org.glassfish.grizzly.utils.ArraySet this$0;
descriptor: Lorg/glassfish/grizzly/utils/ArraySet;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.glassfish.grizzly.utils.ArraySet);
descriptor: (Lorg/glassfish/grizzly/utils/ArraySet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.glassfish.grizzly.utils.ArraySet$Itr.this$0:Lorg/glassfish/grizzly/utils/ArraySet;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokevirtual org.glassfish.grizzly.utils.ArraySet$Itr.advance:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/utils/ArraySet$Itr;
MethodParameters:
Name Flags
this$0 final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.utils.ArraySet$Itr.nextElem:Ljava/lang/Object;
ifnull 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/glassfish/grizzly/utils/ArraySet$Itr;
public T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.utils.ArraySet$Itr.nextElem:Ljava/lang/Object;
ifnonnull 1
new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.glassfish.grizzly.utils.ArraySet$Itr.nextElem:Ljava/lang/Object;
putfield org.glassfish.grizzly.utils.ArraySet$Itr.lastRet:Ljava/lang/Object;
2: aload 0
invokevirtual org.glassfish.grizzly.utils.ArraySet$Itr.advance:()V
3: aload 0
getfield org.glassfish.grizzly.utils.ArraySet$Itr.lastRet:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/utils/ArraySet$Itr;
Signature: ()TT;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.utils.ArraySet$Itr.lastRet:Ljava/lang/Object;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.utils.ArraySet$Itr.this$0:Lorg/glassfish/grizzly/utils/ArraySet;
aload 0
getfield org.glassfish.grizzly.utils.ArraySet$Itr.lastRet:Ljava/lang/Object;
invokevirtual org.glassfish.grizzly.utils.ArraySet.remove:(Ljava/lang/Object;)Z
pop
3: aload 0
dup
getfield org.glassfish.grizzly.utils.ArraySet$Itr.cursor:I
iconst_1
isub
putfield org.glassfish.grizzly.utils.ArraySet$Itr.cursor:I
4: aload 0
aconst_null
putfield org.glassfish.grizzly.utils.ArraySet$Itr.lastRet:Ljava/lang/Object;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/utils/ArraySet$Itr;
private void advance();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.utils.ArraySet$Itr.this$0:Lorg/glassfish/grizzly/utils/ArraySet;
getfield org.glassfish.grizzly.utils.ArraySet.array:[Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnull 2
aload 0
getfield org.glassfish.grizzly.utils.ArraySet$Itr.cursor:I
aload 1
arraylength
if_icmplt 4
2: StackMap locals: java.lang.Object[]
StackMap stack:
aload 0
aconst_null
putfield org.glassfish.grizzly.utils.ArraySet$Itr.nextElem:Ljava/lang/Object;
3: return
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
dup
getfield org.glassfish.grizzly.utils.ArraySet$Itr.cursor:I
dup_x1
iconst_1
iadd
putfield org.glassfish.grizzly.utils.ArraySet$Itr.cursor:I
aaload
putfield org.glassfish.grizzly.utils.ArraySet$Itr.nextElem:Ljava/lang/Object;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/utils/ArraySet$Itr;
1 6 1 localArray [Ljava/lang/Object;
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "ArraySet.java"
NestHost: org.glassfish.grizzly.utils.ArraySet
InnerClasses:
private Itr = org.glassfish.grizzly.utils.ArraySet$Itr of org.glassfish.grizzly.utils.ArraySet