final class com.google.common.collect.Multisets$MultisetIteratorImpl<E> implements java.util.Iterator<E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.Multisets$MultisetIteratorImpl
super_class: java.lang.Object
{
private final com.google.common.collect.Multiset<E> multiset;
descriptor: Lcom/google/common/collect/Multiset;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/google/common/collect/Multiset<TE;>;
private final java.util.Iterator<com.google.common.collect.Multiset$Entry<E>> entryIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<Lcom/google/common/collect/Multiset$Entry<TE;>;>;
private com.google.common.collect.Multiset$Entry<E> currentEntry;
descriptor: Lcom/google/common/collect/Multiset$Entry;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/google/common/collect/Multiset$Entry<TE;>;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
private int laterCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int totalCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean canRemove;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(com.google.common.collect.Multiset<E>, java.util.Iterator<com.google.common.collect.Multiset$Entry<E>>);
descriptor: (Lcom/google/common/collect/Multiset;Ljava/util/Iterator;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.google.common.collect.Multisets$MultisetIteratorImpl.multiset:Lcom/google/common/collect/Multiset;
2: aload 0
aload 2
putfield com.google.common.collect.Multisets$MultisetIteratorImpl.entryIterator:Ljava/util/Iterator;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/Multisets$MultisetIteratorImpl<TE;>;
0 4 1 multiset Lcom/google/common/collect/Multiset<TE;>;
0 4 2 entryIterator Ljava/util/Iterator<Lcom/google/common/collect/Multiset$Entry<TE;>;>;
Signature: (Lcom/google/common/collect/Multiset<TE;>;Ljava/util/Iterator<Lcom/google/common/collect/Multiset$Entry<TE;>;>;)V
MethodParameters:
Name Flags
multiset
entryIterator
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.Multisets$MultisetIteratorImpl.laterCount:I
ifgt 1
aload 0
getfield com.google.common.collect.Multisets$MultisetIteratorImpl.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/Multisets$MultisetIteratorImpl<TE;>;
public E next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.Multisets$MultisetIteratorImpl.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 com.google.common.collect.Multisets$MultisetIteratorImpl.laterCount:I
ifne 5
3: aload 0
aload 0
getfield com.google.common.collect.Multisets$MultisetIteratorImpl.entryIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.google.common.collect.Multiset$Entry
putfield com.google.common.collect.Multisets$MultisetIteratorImpl.currentEntry:Lcom/google/common/collect/Multiset$Entry;
4: aload 0
aload 0
aload 0
getfield com.google.common.collect.Multisets$MultisetIteratorImpl.currentEntry:Lcom/google/common/collect/Multiset$Entry;
invokeinterface com.google.common.collect.Multiset$Entry.getCount:()I
dup_x1
putfield com.google.common.collect.Multisets$MultisetIteratorImpl.laterCount:I
putfield com.google.common.collect.Multisets$MultisetIteratorImpl.totalCount:I
5: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.google.common.collect.Multisets$MultisetIteratorImpl.laterCount:I
iconst_1
isub
putfield com.google.common.collect.Multisets$MultisetIteratorImpl.laterCount:I
6: aload 0
iconst_1
putfield com.google.common.collect.Multisets$MultisetIteratorImpl.canRemove:Z
7: aload 0
getfield com.google.common.collect.Multisets$MultisetIteratorImpl.currentEntry:Lcom/google/common/collect/Multiset$Entry;
invokeinterface com.google.common.collect.Multiset$Entry.getElement:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/Multisets$MultisetIteratorImpl<TE;>;
Signature: ()TE;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Multisets$MultisetIteratorImpl.canRemove:Z
invokestatic com.google.common.collect.CollectPreconditions.checkRemove:(Z)V
1: aload 0
getfield com.google.common.collect.Multisets$MultisetIteratorImpl.totalCount:I
iconst_1
if_icmpne 4
2: aload 0
getfield com.google.common.collect.Multisets$MultisetIteratorImpl.entryIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.remove:()V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.Multisets$MultisetIteratorImpl.multiset:Lcom/google/common/collect/Multiset;
aload 0
getfield com.google.common.collect.Multisets$MultisetIteratorImpl.currentEntry:Lcom/google/common/collect/Multiset$Entry;
invokeinterface com.google.common.collect.Multiset$Entry.getElement:()Ljava/lang/Object;
invokeinterface com.google.common.collect.Multiset.remove:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.google.common.collect.Multisets$MultisetIteratorImpl.totalCount:I
iconst_1
isub
putfield com.google.common.collect.Multisets$MultisetIteratorImpl.totalCount:I
6: aload 0
iconst_0
putfield com.google.common.collect.Multisets$MultisetIteratorImpl.canRemove:Z
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/Multisets$MultisetIteratorImpl<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TE;>;
SourceFile: "Multisets.java"
NestHost: com.google.common.collect.Multisets
InnerClasses:
public abstract Entry = com.google.common.collect.Multiset$Entry of com.google.common.collect.Multiset
final MultisetIteratorImpl = com.google.common.collect.Multisets$MultisetIteratorImpl of com.google.common.collect.Multisets