class com.google.common.collect.MinMaxPriorityQueue$QueueIterator implements java.util.Iterator<E>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.collect.MinMaxPriorityQueue$QueueIterator
super_class: java.lang.Object
{
private int cursor;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int nextCursor;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int expectedModCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.Queue<E> forgetMeNot;
descriptor: Ljava/util/Queue;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Queue<TE;>;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.MonotonicNonNull()
private java.util.List<E> skipMe;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<TE;>;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.MonotonicNonNull()
private E lastFromForgetMeNot;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TE;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
private boolean canRemove;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final com.google.common.collect.MinMaxPriorityQueue this$0;
descriptor: Lcom/google/common/collect/MinMaxPriorityQueue;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(com.google.common.collect.MinMaxPriorityQueue);
descriptor: (Lcom/google/common/collect/MinMaxPriorityQueue;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.cursor:I
2: aload 0
iconst_m1
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.nextCursor:I
3: aload 0
aload 1
getfield com.google.common.collect.MinMaxPriorityQueue.modCount:I
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.expectedModCount:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/MinMaxPriorityQueue$QueueIterator;
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
invokevirtual com.google.common.collect.MinMaxPriorityQueue$QueueIterator.checkModCount:()V
1: aload 0
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.cursor:I
iconst_1
iadd
invokevirtual com.google.common.collect.MinMaxPriorityQueue$QueueIterator.nextNotInSkipMe:(I)V
2: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.nextCursor:I
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
invokevirtual com.google.common.collect.MinMaxPriorityQueue.size:()I
if_icmplt 4
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.forgetMeNot:Ljava/util/Queue;
ifnull 3
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.forgetMeNot:Ljava/util/Queue;
invokeinterface java.util.Queue.isEmpty:()Z
ifeq 4
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/MinMaxPriorityQueue$QueueIterator;
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
invokevirtual com.google.common.collect.MinMaxPriorityQueue$QueueIterator.checkModCount:()V
1: aload 0
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.cursor:I
iconst_1
iadd
invokevirtual com.google.common.collect.MinMaxPriorityQueue$QueueIterator.nextNotInSkipMe:(I)V
2: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.nextCursor:I
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
invokevirtual com.google.common.collect.MinMaxPriorityQueue.size:()I
if_icmpge 6
3: aload 0
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.nextCursor:I
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.cursor:I
4: aload 0
iconst_1
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.canRemove:Z
5: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.cursor:I
invokevirtual com.google.common.collect.MinMaxPriorityQueue.elementData:(I)Ljava/lang/Object;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.forgetMeNot:Ljava/util/Queue;
ifnull 12
7: aload 0
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
invokevirtual com.google.common.collect.MinMaxPriorityQueue.size:()I
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.cursor:I
8: aload 0
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.forgetMeNot:Ljava/util/Queue;
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.lastFromForgetMeNot:Ljava/lang/Object;
9: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.lastFromForgetMeNot:Ljava/lang/Object;
ifnull 12
10: aload 0
iconst_1
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.canRemove:Z
11: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.lastFromForgetMeNot:Ljava/lang/Object;
areturn
12: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
ldc "iterator moved past last element in queue."
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/google/common/collect/MinMaxPriorityQueue$QueueIterator;
Signature: ()TE;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.canRemove:Z
invokestatic com.google.common.collect.CollectPreconditions.checkRemove:(Z)V
1: aload 0
invokevirtual com.google.common.collect.MinMaxPriorityQueue$QueueIterator.checkModCount:()V
2: aload 0
iconst_0
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.canRemove:Z
3: aload 0
dup
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.expectedModCount:I
iconst_1
iadd
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.expectedModCount:I
4: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.cursor:I
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
invokevirtual com.google.common.collect.MinMaxPriorityQueue.size:()I
if_icmpge 17
5: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.cursor:I
invokevirtual com.google.common.collect.MinMaxPriorityQueue.removeAt:(I)Lcom/google/common/collect/MinMaxPriorityQueue$MoveDesc;
astore 1
start local 1 6: aload 1
ifnull 14
7: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.forgetMeNot:Ljava/util/Queue;
ifnonnull 10
8: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.forgetMeNot:Ljava/util/Queue;
9: aload 0
new java.util.ArrayList
dup
iconst_3
invokespecial java.util.ArrayList.<init>:(I)V
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.skipMe:Ljava/util/List;
10: StackMap locals: com.google.common.collect.MinMaxPriorityQueue$MoveDesc
StackMap stack:
aload 0
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.skipMe:Ljava/util/List;
aload 1
getfield com.google.common.collect.MinMaxPriorityQueue$MoveDesc.toTrickle:Ljava/lang/Object;
invokevirtual com.google.common.collect.MinMaxPriorityQueue$QueueIterator.foundAndRemovedExactReference:(Ljava/lang/Iterable;Ljava/lang/Object;)Z
ifne 12
11: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.forgetMeNot:Ljava/util/Queue;
aload 1
getfield com.google.common.collect.MinMaxPriorityQueue$MoveDesc.toTrickle:Ljava/lang/Object;
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
12: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.forgetMeNot:Ljava/util/Queue;
aload 1
getfield com.google.common.collect.MinMaxPriorityQueue$MoveDesc.replaced:Ljava/lang/Object;
invokevirtual com.google.common.collect.MinMaxPriorityQueue$QueueIterator.foundAndRemovedExactReference:(Ljava/lang/Iterable;Ljava/lang/Object;)Z
ifne 14
13: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.skipMe:Ljava/util/List;
aload 1
getfield com.google.common.collect.MinMaxPriorityQueue$MoveDesc.replaced:Ljava/lang/Object;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.cursor:I
iconst_1
isub
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.cursor:I
15: aload 0
dup
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.nextCursor:I
iconst_1
isub
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.nextCursor:I
end local 1 16: goto 19
17: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.lastFromForgetMeNot:Ljava/lang/Object;
invokevirtual com.google.common.collect.MinMaxPriorityQueue$QueueIterator.removeExact:(Ljava/lang/Object;)Z
invokestatic com.google.common.base.Preconditions.checkState:(Z)V
18: aload 0
aconst_null
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.lastFromForgetMeNot:Ljava/lang/Object;
19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/google/common/collect/MinMaxPriorityQueue$QueueIterator;
6 16 1 moved Lcom/google/common/collect/MinMaxPriorityQueue$MoveDesc<TE;>;
private boolean foundAndRemovedExactReference(java.lang.Iterable<E>, );
descriptor: (Ljava/lang/Iterable;Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
start local 3 1: goto 6
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
start local 4 3: aload 4
aload 2
if_acmpne 6
4: aload 3
invokeinterface java.util.Iterator.remove:()V
5: iconst_1
ireturn
end local 4 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
end local 3 7: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/MinMaxPriorityQueue$QueueIterator;
0 8 1 elements Ljava/lang/Iterable<TE;>;
0 8 2 target TE;
1 7 3 it Ljava/util/Iterator<TE;>;
3 6 4 element TE;
Signature: (Ljava/lang/Iterable<TE;>;TE;)Z
MethodParameters:
Name Flags
elements
target
private boolean removeExact(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
getfield com.google.common.collect.MinMaxPriorityQueue.queue:[Ljava/lang/Object;
iload 2
aaload
aload 1
if_acmpne 5
3: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
iload 2
invokevirtual com.google.common.collect.MinMaxPriorityQueue.removeAt:(I)Lcom/google/common/collect/MinMaxPriorityQueue$MoveDesc;
pop
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
getfield com.google.common.collect.MinMaxPriorityQueue.size:I
if_icmplt 2
end local 2 7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/MinMaxPriorityQueue$QueueIterator;
0 8 1 target Ljava/lang/Object;
1 7 2 i I
MethodParameters:
Name Flags
target
private void checkModCount();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
getfield com.google.common.collect.MinMaxPriorityQueue.modCount:I
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.expectedModCount:I
if_icmpeq 2
1: new java.util.ConcurrentModificationException
dup
invokespecial java.util.ConcurrentModificationException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/MinMaxPriorityQueue$QueueIterator;
private void nextNotInSkipMe(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.nextCursor:I
iload 1
if_icmpge 6
1: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.skipMe:Ljava/util/List;
ifnull 5
2: goto 4
3: StackMap locals:
StackMap stack:
iinc 1 1
4: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
invokevirtual com.google.common.collect.MinMaxPriorityQueue.size:()I
if_icmpge 5
aload 0
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.skipMe:Ljava/util/List;
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.this$0:Lcom/google/common/collect/MinMaxPriorityQueue;
iload 1
invokevirtual com.google.common.collect.MinMaxPriorityQueue.elementData:(I)Ljava/lang/Object;
invokevirtual com.google.common.collect.MinMaxPriorityQueue$QueueIterator.foundAndRemovedExactReference:(Ljava/lang/Iterable;Ljava/lang/Object;)Z
ifne 3
5: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.google.common.collect.MinMaxPriorityQueue$QueueIterator.nextCursor:I
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/MinMaxPriorityQueue$QueueIterator;
0 7 1 c I
MethodParameters:
Name Flags
c
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<TE;>;
SourceFile: "MinMaxPriorityQueue.java"
NestHost: com.google.common.collect.MinMaxPriorityQueue
InnerClasses:
MoveDesc = com.google.common.collect.MinMaxPriorityQueue$MoveDesc of com.google.common.collect.MinMaxPriorityQueue
private QueueIterator = com.google.common.collect.MinMaxPriorityQueue$QueueIterator of com.google.common.collect.MinMaxPriorityQueue