class org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator implements org.eclipse.collections.api.iterator.MutableIntIterator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator
super_class: java.lang.Object
{
private final org.eclipse.collections.api.iterator.MutableIntIterator intIterator;
descriptor: Lorg/eclipse/collections/api/iterator/MutableIntIterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int currentItem;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int occurrences;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean canRemove;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag this$0;
descriptor: Lorg/eclipse/collections/impl/bag/mutable/primitive/IntHashBag;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag);
descriptor: (Lorg/eclipse/collections/impl/bag/mutable/primitive/IntHashBag;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.this$0:Lorg/eclipse/collections/impl/bag/mutable/primitive/IntHashBag;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag.items:Lorg/eclipse/collections/impl/map/mutable/primitive/IntIntHashMap;
invokevirtual org.eclipse.collections.impl.map.mutable.primitive.IntIntHashMap.keySet:()Lorg/eclipse/collections/api/set/primitive/MutableIntSet;
invokeinterface org.eclipse.collections.api.set.primitive.MutableIntSet.intIterator:()Lorg/eclipse/collections/api/iterator/MutableIntIterator;
putfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.intIterator:Lorg/eclipse/collections/api/iterator/MutableIntIterator;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/bag/mutable/primitive/IntHashBag$InternalIterator;
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.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.occurrences:I
ifgt 1
aload 0
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.intIterator:Lorg/eclipse/collections/api/iterator/MutableIntIterator;
invokeinterface org.eclipse.collections.api.iterator.MutableIntIterator.hasNext:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/bag/mutable/primitive/IntHashBag$InternalIterator;
public int next();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.occurrences:I
ifne 3
1: aload 0
aload 0
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.intIterator:Lorg/eclipse/collections/api/iterator/MutableIntIterator;
invokeinterface org.eclipse.collections.api.iterator.MutableIntIterator.next:()I
putfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.currentItem:I
2: aload 0
aload 0
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.this$0:Lorg/eclipse/collections/impl/bag/mutable/primitive/IntHashBag;
aload 0
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.currentItem:I
invokevirtual org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag.occurrencesOf:(I)I
putfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.occurrences:I
3: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.occurrences:I
iconst_1
isub
putfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.occurrences:I
4: aload 0
iconst_1
putfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.canRemove:Z
5: aload 0
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.currentItem:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/collections/impl/bag/mutable/primitive/IntHashBag$InternalIterator;
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.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.canRemove:Z
ifne 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.occurrences:I
ifne 6
3: aload 0
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.intIterator:Lorg/eclipse/collections/api/iterator/MutableIntIterator;
invokeinterface org.eclipse.collections.api.iterator.MutableIntIterator.remove:()V
4: aload 0
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.this$0:Lorg/eclipse/collections/impl/bag/mutable/primitive/IntHashBag;
dup
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag.size:I
iconst_1
isub
putfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag.size:I
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.this$0:Lorg/eclipse/collections/impl/bag/mutable/primitive/IntHashBag;
aload 0
getfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.currentItem:I
invokevirtual org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag.remove:(I)Z
pop
7: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator.canRemove:Z
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/collections/impl/bag/mutable/primitive/IntHashBag$InternalIterator;
}
SourceFile: "IntHashBag.java"
NestHost: org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag
InnerClasses:
private InternalIterator = org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag$InternalIterator of org.eclipse.collections.impl.bag.mutable.primitive.IntHashBag