public class org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator
super_class: java.lang.Object
{
protected int count;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int position;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int chainPosition;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected boolean lastReturned;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
final org.eclipse.collections.impl.set.mutable.UnifiedSet this$0;
descriptor: Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(org.eclipse.collections.impl.set.mutable.UnifiedSet);
descriptor: (Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.this$0:Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/set/mutable/UnifiedSet$PositionalIterator;
MethodParameters:
Name Flags
this$0 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.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.count:I
aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.this$0:Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
invokevirtual org.eclipse.collections.impl.set.mutable.UnifiedSet.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/eclipse/collections/impl/set/mutable/UnifiedSet$PositionalIterator;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.lastReturned:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "next() must be called as many times as remove()"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.count:I
iconst_1
isub
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.count:I
3: aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.this$0:Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
dup
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet.occupied:I
iconst_1
isub
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet.occupied:I
4: aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.chainPosition:I
ifeq 7
5: aload 0
invokevirtual org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.removeFromChain:()V
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.position:I
iconst_1
isub
istore 1
start local 1 8: aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.this$0:Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet.table:[Ljava/lang/Object;
iload 1
aaload
astore 2
start local 2 9: aload 2
instanceof org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket
ifeq 12
10: aload 0
aload 2
checkcast org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket
iload 1
invokevirtual org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.removeLastFromChain:(Lorg/eclipse/collections/impl/set/mutable/UnifiedSet$ChainedBucket;I)V
11: return
12: StackMap locals: int java.lang.Object
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.this$0:Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet.table:[Ljava/lang/Object;
iload 1
aconst_null
aastore
13: aload 0
iload 1
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.position:I
14: aload 0
iconst_0
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.lastReturned:Z
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/eclipse/collections/impl/set/mutable/UnifiedSet$PositionalIterator;
8 16 1 pos I
9 16 2 key Ljava/lang/Object;
protected void removeFromChain();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.this$0:Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet.table:[Ljava/lang/Object;
aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.position:I
aaload
checkcast org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket
astore 1
start local 1 1: aload 1
aload 0
dup
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.chainPosition:I
iconst_1
isub
dup_x1
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.chainPosition:I
invokevirtual org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket.remove:(I)V
2: aload 0
iconst_0
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.lastReturned:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/collections/impl/set/mutable/UnifiedSet$PositionalIterator;
1 4 1 chain Lorg/eclipse/collections/impl/set/mutable/UnifiedSet$ChainedBucket;
protected void removeLastFromChain(org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket, int);
descriptor: (Lorg/eclipse/collections/impl/set/mutable/UnifiedSet$ChainedBucket;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 1
iconst_0
invokevirtual org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket.removeLast:(I)Ljava/lang/Object;
pop
1: aload 1
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket.zero:Ljava/lang/Object;
ifnonnull 3
2: aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.this$0:Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet.table:[Ljava/lang/Object;
iload 2
aconst_null
aastore
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.lastReturned:Z
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/collections/impl/set/mutable/UnifiedSet$PositionalIterator;
0 5 1 bucket Lorg/eclipse/collections/impl/set/mutable/UnifiedSet$ChainedBucket;
0 5 2 tableIndex I
MethodParameters:
Name Flags
bucket
tableIndex
protected T nextFromChain();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.this$0:Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet.table:[Ljava/lang/Object;
aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.position:I
aaload
checkcast org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket
astore 1
start local 1 1: aload 1
aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.chainPosition:I
invokevirtual org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket.get:(I)Ljava/lang/Object;
astore 2
start local 2 2: aload 0
dup
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.chainPosition:I
iconst_1
iadd
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.chainPosition:I
3: aload 1
aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.chainPosition:I
invokevirtual org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket.get:(I)Ljava/lang/Object;
ifnonnull 6
4: aload 0
iconst_0
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.chainPosition:I
5: aload 0
dup
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.position:I
iconst_1
iadd
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.position:I
6: StackMap locals: org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket java.lang.Object
StackMap stack:
aload 0
iconst_1
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.lastReturned:Z
7: aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.this$0:Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
aload 2
invokevirtual org.eclipse.collections.impl.set.mutable.UnifiedSet.nonSentinel:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/collections/impl/set/mutable/UnifiedSet$PositionalIterator;
1 8 1 bucket Lorg/eclipse/collections/impl/set/mutable/UnifiedSet$ChainedBucket;
2 8 2 cur Ljava/lang/Object;
Signature: ()TT;
public T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
ldc "next() called, but the iterator is exhausted"
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.count:I
iconst_1
iadd
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.count:I
3: aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.this$0:Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet.table:[Ljava/lang/Object;
astore 1
start local 1 4: aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.chainPosition:I
ifeq 7
5: aload 0
invokevirtual org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.nextFromChain:()Ljava/lang/Object;
areturn
6: StackMap locals: java.lang.Object[]
StackMap stack:
aload 0
dup
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.position:I
iconst_1
iadd
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.position:I
7: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.position:I
aaload
ifnull 6
8: aload 1
aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.position:I
aaload
astore 2
start local 2 9: aload 2
instanceof org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket
ifeq 11
10: aload 0
invokevirtual org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.nextFromChain:()Ljava/lang/Object;
areturn
11: StackMap locals: java.lang.Object
StackMap stack:
aload 0
dup
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.position:I
iconst_1
iadd
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.position:I
12: aload 0
iconst_1
putfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.lastReturned:Z
13: aload 0
getfield org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator.this$0:Lorg/eclipse/collections/impl/set/mutable/UnifiedSet;
aload 2
invokevirtual org.eclipse.collections.impl.set.mutable.UnifiedSet.nonSentinel:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/eclipse/collections/impl/set/mutable/UnifiedSet$PositionalIterator;
4 14 1 table [Ljava/lang/Object;
9 14 2 cur Ljava/lang/Object;
Signature: ()TT;
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "UnifiedSet.java"
NestHost: org.eclipse.collections.impl.set.mutable.UnifiedSet
InnerClasses:
private final ChainedBucket = org.eclipse.collections.impl.set.mutable.UnifiedSet$ChainedBucket of org.eclipse.collections.impl.set.mutable.UnifiedSet
protected PositionalIterator = org.eclipse.collections.impl.set.mutable.UnifiedSet$PositionalIterator of org.eclipse.collections.impl.set.mutable.UnifiedSet