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