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