final class org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator
super_class: java.lang.Object
{
private int position;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int remainingOccurrences;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag this$0;
descriptor: Lorg/eclipse/collections/impl/bag/immutable/ImmutableArrayBag;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag);
descriptor: (Lorg/eclipse/collections/impl/bag/immutable/ImmutableArrayBag;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.this$0:Lorg/eclipse/collections/impl/bag/immutable/ImmutableArrayBag;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
iconst_m1
putfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.remainingOccurrences:I
3: aload 0
aload 1
invokevirtual org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag.sizeDistinct:()I
ifle 5
4: aload 1
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag.counts:[I
iconst_0
iaload
goto 6
5: StackMap locals: org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag
StackMap stack: org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator
iconst_0
6: StackMap locals: org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag
StackMap stack: org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator int
putfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.remainingOccurrences:I
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/collections/impl/bag/immutable/ImmutableArrayBag$ArrayBagIterator;
MethodParameters:
Name Flags
this$0 final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.position:I
aload 0
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.this$0:Lorg/eclipse/collections/impl/bag/immutable/ImmutableArrayBag;
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag.keys:[Ljava/lang/Object;
arraylength
if_icmpeq 3
1: aload 0
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.position:I
aload 0
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.this$0:Lorg/eclipse/collections/impl/bag/immutable/ImmutableArrayBag;
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag.keys:[Ljava/lang/Object;
arraylength
iconst_1
isub
if_icmpne 2
aload 0
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.remainingOccurrences:I
ifeq 3
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/collections/impl/bag/immutable/ImmutableArrayBag$ArrayBagIterator;
public T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.this$0:Lorg/eclipse/collections/impl/bag/immutable/ImmutableArrayBag;
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag.keys:[Ljava/lang/Object;
aload 0
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.position:I
aaload
astore 1
start local 1 3: aload 0
dup
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.remainingOccurrences:I
iconst_1
isub
putfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.remainingOccurrences:I
4: aload 0
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.remainingOccurrences:I
ifne 8
5: aload 0
dup
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.position:I
iconst_1
iadd
putfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.position:I
6: aload 0
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.position:I
aload 0
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.this$0:Lorg/eclipse/collections/impl/bag/immutable/ImmutableArrayBag;
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag.keys:[Ljava/lang/Object;
arraylength
if_icmpeq 8
7: aload 0
aload 0
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.this$0:Lorg/eclipse/collections/impl/bag/immutable/ImmutableArrayBag;
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag.counts:[I
aload 0
getfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.position:I
iaload
putfield org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator.remainingOccurrences:I
8: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/collections/impl/bag/immutable/ImmutableArrayBag$ArrayBagIterator;
3 9 1 result TT;
Signature: ()TT;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Cannot remove from an ImmutableArrayBag"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/bag/immutable/ImmutableArrayBag$ArrayBagIterator;
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "ImmutableArrayBag.java"
NestHost: org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag
InnerClasses:
private final ArrayBagIterator = org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag$ArrayBagIterator of org.eclipse.collections.impl.bag.immutable.ImmutableArrayBag