public abstract class org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator<T> implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.eclipse.collections.impl.map.mutable.UnifiedMap$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.map.mutable.UnifiedMap this$0;
descriptor: Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(org.eclipse.collections.impl.map.mutable.UnifiedMap);
descriptor: (Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;)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.map.mutable.UnifiedMap$PositionalIterator.this$0:Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
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/map/mutable/UnifiedMap<TK;TV;>.PositionalIterator<TT;>;
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.map.mutable.UnifiedMap$PositionalIterator.count:I
aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.this$0:Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
invokevirtual org.eclipse.collections.impl.map.mutable.UnifiedMap.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/map/mutable/UnifiedMap<TK;TV;>.PositionalIterator<TT;>;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$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.map.mutable.UnifiedMap$PositionalIterator.count:I
iconst_1
isub
putfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.count:I
3: aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.this$0:Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
dup
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap.occupied:I
iconst_1
isub
putfield org.eclipse.collections.impl.map.mutable.UnifiedMap.occupied:I
4: aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.chainPosition:I
ifeq 7
5: aload 0
invokevirtual org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.removeFromChain:()V
6: return
7: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.position:I
iconst_2
isub
istore 1
start local 1 8: aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.this$0:Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap.table:[Ljava/lang/Object;
iload 1
aaload
astore 2
start local 2 9: aload 2
getstatic org.eclipse.collections.impl.map.mutable.UnifiedMap.CHAINED_KEY:Ljava/lang/Object;
if_acmpne 12
10: aload 0
aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.this$0:Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap.table:[Ljava/lang/Object;
iload 1
iconst_1
iadd
aaload
checkcast java.lang.Object[]
iload 1
invokevirtual org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.removeLastFromChain:([Ljava/lang/Object;I)V
11: return
12: StackMap locals: int java.lang.Object
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.this$0:Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap.table:[Ljava/lang/Object;
iload 1
aconst_null
aastore
13: aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.this$0:Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap.table:[Ljava/lang/Object;
iload 1
iconst_1
iadd
aconst_null
aastore
14: aload 0
iload 1
putfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.position:I
15: aload 0
iconst_0
putfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.lastReturned:Z
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/eclipse/collections/impl/map/mutable/UnifiedMap<TK;TV;>.PositionalIterator<TT;>;
8 17 1 pos I
9 17 2 cur Ljava/lang/Object;
protected void removeFromChain();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.this$0:Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap.table:[Ljava/lang/Object;
aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.position:I
iconst_1
iadd
aaload
checkcast java.lang.Object[]
astore 1
start local 1 1: aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.chainPosition:I
iconst_2
isub
istore 2
start local 2 2: aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.chainPosition:I
istore 3
start local 3 3: goto 5
4: StackMap locals: java.lang.Object[] int int
StackMap stack:
iinc 3 2
5: StackMap locals:
StackMap stack:
iload 3
aload 1
arraylength
iconst_2
isub
if_icmpge 6
aload 1
iload 3
iconst_2
iadd
aaload
ifnonnull 4
6: StackMap locals:
StackMap stack:
aload 1
iload 2
aload 1
iload 3
aaload
aastore
7: aload 1
iload 2
iconst_1
iadd
aload 1
iload 3
iconst_1
iadd
aaload
aastore
8: aload 1
iload 3
aconst_null
aastore
9: aload 1
iload 3
iconst_1
iadd
aconst_null
aastore
10: aload 0
iload 2
putfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.chainPosition:I
11: aload 0
iconst_0
putfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.lastReturned:Z
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/collections/impl/map/mutable/UnifiedMap<TK;TV;>.PositionalIterator<TT;>;
1 13 1 chain [Ljava/lang/Object;
2 13 2 pos I
3 13 3 replacePos I
protected void removeLastFromChain(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
arraylength
iconst_2
isub
istore 3
start local 3 1: goto 3
2: StackMap locals: int
StackMap stack:
iinc 3 -2
3: StackMap locals:
StackMap stack:
aload 1
iload 3
aaload
ifnull 2
4: iload 3
ifne 8
5: aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.this$0:Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap.table:[Ljava/lang/Object;
iload 2
aconst_null
aastore
6: aload 0
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.this$0:Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
getfield org.eclipse.collections.impl.map.mutable.UnifiedMap.table:[Ljava/lang/Object;
iload 2
iconst_1
iadd
aconst_null
aastore
7: goto 10
8: StackMap locals:
StackMap stack:
aload 1
iload 3
aconst_null
aastore
9: aload 1
iload 3
iconst_1
iadd
aconst_null
aastore
10: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator.lastReturned:Z
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/collections/impl/map/mutable/UnifiedMap<TK;TV;>.PositionalIterator<TT;>;
0 12 1 chain [Ljava/lang/Object;
0 12 2 tableIndex I
1 12 3 pos I
MethodParameters:
Name Flags
chain
tableIndex
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "UnifiedMap.java"
NestHost: org.eclipse.collections.impl.map.mutable.UnifiedMap
InnerClasses:
protected abstract PositionalIterator = org.eclipse.collections.impl.map.mutable.UnifiedMap$PositionalIterator of org.eclipse.collections.impl.map.mutable.UnifiedMap