class org.apache.commons.collections4.bag.AbstractMapBag$BagIterator<E> implements java.util.Iterator<E>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.collections4.bag.AbstractMapBag$BagIterator
super_class: java.lang.Object
{
private final org.apache.commons.collections4.bag.AbstractMapBag<E> parent;
descriptor: Lorg/apache/commons/collections4/bag/AbstractMapBag;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
private final java.util.Iterator<java.util.Map$Entry<E, org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger>> entryIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<Ljava/util/Map$Entry<TE;Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;>;>;
private java.util.Map$Entry<E, org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger> current;
descriptor: Ljava/util/Map$Entry;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map$Entry<TE;Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;>;
private int itemCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final int mods;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean canRemove;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(org.apache.commons.collections4.bag.AbstractMapBag<E>);
descriptor: (Lorg/apache/commons/collections4/bag/AbstractMapBag;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.parent:Lorg/apache/commons/collections4/bag/AbstractMapBag;
2: aload 0
aload 1
getfield org.apache.commons.collections4.bag.AbstractMapBag.map:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
putfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.entryIterator:Ljava/util/Iterator;
3: aload 0
aconst_null
putfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.current:Ljava/util/Map$Entry;
4: aload 0
aload 1
getfield org.apache.commons.collections4.bag.AbstractMapBag.modCount:I
putfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.mods:I
5: aload 0
iconst_0
putfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.canRemove:Z
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag$BagIterator<TE;>;
0 7 1 parent Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;
Signature: (Lorg/apache/commons/collections4/bag/AbstractMapBag<TE;>;)V
MethodParameters:
Name Flags
parent 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.apache.commons.collections4.bag.AbstractMapBag$BagIterator.itemCount:I
ifgt 1
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.entryIterator: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/apache/commons/collections4/bag/AbstractMapBag$BagIterator<TE;>;
public E 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.apache.commons.collections4.bag.AbstractMapBag$BagIterator.parent:Lorg/apache/commons/collections4/bag/AbstractMapBag;
getfield org.apache.commons.collections4.bag.AbstractMapBag.modCount:I
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.mods:I
if_icmpeq 2
1: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.itemCount:I
ifne 5
3: aload 0
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.entryIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
putfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.current:Ljava/util/Map$Entry;
4: aload 0
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.current:Ljava/util/Map$Entry;
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
getfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
putfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.itemCount:I
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.canRemove:Z
6: aload 0
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.itemCount:I
iconst_1
isub
putfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.itemCount:I
7: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.current:Ljava/util/Map$Entry;
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag$BagIterator<TE;>;
Signature: ()TE;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.parent:Lorg/apache/commons/collections4/bag/AbstractMapBag;
getfield org.apache.commons.collections4.bag.AbstractMapBag.modCount:I
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.mods:I
if_icmpeq 2
1: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.canRemove:Z
ifne 4
3: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.current:Ljava/util/Map$Entry;
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
astore 1
start local 1 5: aload 1
getfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
iconst_1
if_icmple 8
6: aload 1
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
iconst_1
isub
putfield org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger.value:I
7: goto 9
8: StackMap locals: org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger
StackMap stack:
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.entryIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.remove:()V
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.parent:Lorg/apache/commons/collections4/bag/AbstractMapBag;
dup
getfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
iconst_1
isub
putfield org.apache.commons.collections4.bag.AbstractMapBag.size:I
10: aload 0
iconst_0
putfield org.apache.commons.collections4.bag.AbstractMapBag$BagIterator.canRemove:Z
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/commons/collections4/bag/AbstractMapBag$BagIterator<TE;>;
5 12 1 mut Lorg/apache/commons/collections4/bag/AbstractMapBag$MutableInteger;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TE;>;
SourceFile: "AbstractMapBag.java"
NestHost: org.apache.commons.collections4.bag.AbstractMapBag
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
BagIterator = org.apache.commons.collections4.bag.AbstractMapBag$BagIterator of org.apache.commons.collections4.bag.AbstractMapBag
protected MutableInteger = org.apache.commons.collections4.bag.AbstractMapBag$MutableInteger of org.apache.commons.collections4.bag.AbstractMapBag