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