class com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator implements java.util.Iterator<E>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator
super_class: java.lang.Object
{
final java.util.Iterator<java.util.Map$Entry<E, com.google.common.collect.Count>> entryIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Iterator<Ljava/util/Map$Entry<TE;Lcom/google/common/collect/Count;>;>;
java.util.Map$Entry<E, com.google.common.collect.Count> currentEntry;
descriptor: Ljava/util/Map$Entry;
flags: (0x0000)
Signature: Ljava/util/Map$Entry<TE;Lcom/google/common/collect/Count;>;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.MonotonicNonNull()
int occurrencesLeft;
descriptor: I
flags: (0x0000)
boolean canRemove;
descriptor: Z
flags: (0x0000)
final com.google.common.collect.AbstractMapBasedMultiset this$0;
descriptor: Lcom/google/common/collect/AbstractMapBasedMultiset;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.google.common.collect.AbstractMapBasedMultiset);
descriptor: (Lcom/google/common/collect/AbstractMapBasedMultiset;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.this$0:Lcom/google/common/collect/AbstractMapBasedMultiset;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield com.google.common.collect.AbstractMapBasedMultiset.backingMap:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
putfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.entryIterator:Ljava/util/Iterator;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/AbstractMapBasedMultiset$MapBasedMultisetIterator;
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 com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.occurrencesLeft:I
ifgt 1
aload 0
getfield com.google.common.collect.AbstractMapBasedMultiset$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 Lcom/google/common/collect/AbstractMapBasedMultiset$MapBasedMultisetIterator;
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 com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.occurrencesLeft:I
ifne 3
1: aload 0
aload 0
getfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.entryIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
putfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.currentEntry:Ljava/util/Map$Entry;
2: aload 0
aload 0
getfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.currentEntry:Ljava/util/Map$Entry;
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast com.google.common.collect.Count
invokevirtual com.google.common.collect.Count.get:()I
putfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.occurrencesLeft:I
3: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.occurrencesLeft:I
iconst_1
isub
putfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.occurrencesLeft:I
4: aload 0
iconst_1
putfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.canRemove:Z
5: aload 0
getfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.currentEntry:Ljava/util/Map$Entry;
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/AbstractMapBasedMultiset$MapBasedMultisetIterator;
Signature: ()TE;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.canRemove:Z
invokestatic com.google.common.collect.CollectPreconditions.checkRemove:(Z)V
1: aload 0
getfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.currentEntry:Ljava/util/Map$Entry;
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast com.google.common.collect.Count
invokevirtual com.google.common.collect.Count.get:()I
istore 1
start local 1 2: iload 1
ifgt 4
3: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
4: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.currentEntry:Ljava/util/Map$Entry;
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast com.google.common.collect.Count
iconst_m1
invokevirtual com.google.common.collect.Count.addAndGet:(I)I
ifne 6
5: aload 0
getfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.entryIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.remove:()V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.this$0:Lcom/google/common/collect/AbstractMapBasedMultiset;
dup
getfield com.google.common.collect.AbstractMapBasedMultiset.size:J
lconst_1
lsub
putfield com.google.common.collect.AbstractMapBasedMultiset.size:J
7: aload 0
iconst_0
putfield com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator.canRemove:Z
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/collect/AbstractMapBasedMultiset$MapBasedMultisetIterator;
2 9 1 frequency I
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<TE;>;
SourceFile: "AbstractMapBasedMultiset.java"
NestHost: com.google.common.collect.AbstractMapBasedMultiset
InnerClasses:
private MapBasedMultisetIterator = com.google.common.collect.AbstractMapBasedMultiset$MapBasedMultisetIterator of com.google.common.collect.AbstractMapBasedMultiset
public abstract Entry = java.util.Map$Entry of java.util.Map