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