final class java.util.concurrent.PriorityBlockingQueue$Itr implements java.util.Iterator<E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: java.util.concurrent.PriorityBlockingQueue$Itr
super_class: java.lang.Object
{
final java.lang.Object[] array;
descriptor: [Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
int cursor;
descriptor: I
flags: (0x0000)
int lastRet;
descriptor: I
flags: (0x0000)
final java.util.concurrent.PriorityBlockingQueue this$0;
descriptor: Ljava/util/concurrent/PriorityBlockingQueue;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.concurrent.PriorityBlockingQueue, java.lang.Object[]);
descriptor: (Ljava/util/concurrent/PriorityBlockingQueue;[Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield java.util.concurrent.PriorityBlockingQueue$Itr.this$0:Ljava/util/concurrent/PriorityBlockingQueue;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield java.util.concurrent.PriorityBlockingQueue$Itr.lastRet:I
2: aload 0
aload 2
putfield java.util.concurrent.PriorityBlockingQueue$Itr.array:[Ljava/lang/Object;
3: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/concurrent/PriorityBlockingQueue$Itr;
0 4 2 array [Ljava/lang/Object;
MethodParameters:
Name Flags
this$0 final
array
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.PriorityBlockingQueue$Itr.cursor:I
aload 0
getfield java.util.concurrent.PriorityBlockingQueue$Itr.array:[Ljava/lang/Object;
arraylength
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/PriorityBlockingQueue$Itr;
public E next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.PriorityBlockingQueue$Itr.cursor:I
aload 0
getfield java.util.concurrent.PriorityBlockingQueue$Itr.array:[Ljava/lang/Object;
arraylength
if_icmplt 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.concurrent.PriorityBlockingQueue$Itr.array:[Ljava/lang/Object;
aload 0
aload 0
dup
getfield java.util.concurrent.PriorityBlockingQueue$Itr.cursor:I
dup_x1
iconst_1
iadd
putfield java.util.concurrent.PriorityBlockingQueue$Itr.cursor:I
dup_x1
putfield java.util.concurrent.PriorityBlockingQueue$Itr.lastRet:I
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/concurrent/PriorityBlockingQueue$Itr;
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 java.util.concurrent.PriorityBlockingQueue$Itr.lastRet:I
ifge 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.concurrent.PriorityBlockingQueue$Itr.this$0:Ljava/util/concurrent/PriorityBlockingQueue;
aload 0
getfield java.util.concurrent.PriorityBlockingQueue$Itr.array:[Ljava/lang/Object;
aload 0
getfield java.util.concurrent.PriorityBlockingQueue$Itr.lastRet:I
aaload
invokevirtual java.util.concurrent.PriorityBlockingQueue.removeEq:(Ljava/lang/Object;)V
3: aload 0
iconst_m1
putfield java.util.concurrent.PriorityBlockingQueue$Itr.lastRet:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/concurrent/PriorityBlockingQueue$Itr;
public void forEachRemaining(java.util.function.Consumer<? super E>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield java.util.concurrent.PriorityBlockingQueue$Itr.array:[Ljava/lang/Object;
astore 2
start local 2 2: aload 0
getfield java.util.concurrent.PriorityBlockingQueue$Itr.cursor:I
dup
istore 3
start local 3 3: aload 2
arraylength
if_icmpge 11
4: aload 0
iconst_m1
putfield java.util.concurrent.PriorityBlockingQueue$Itr.lastRet:I
5: aload 0
aload 2
arraylength
putfield java.util.concurrent.PriorityBlockingQueue$Itr.cursor:I
6: goto 9
7: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 1
aload 2
iload 3
aaload
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 2
arraylength
if_icmplt 7
10: aload 0
aload 2
arraylength
iconst_1
isub
putfield java.util.concurrent.PriorityBlockingQueue$Itr.lastRet:I
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/util/concurrent/PriorityBlockingQueue$Itr;
0 12 1 action Ljava/util/function/Consumer<-TE;>;
2 12 2 es [Ljava/lang/Object;
3 12 3 i I
Signature: (Ljava/util/function/Consumer<-TE;>;)V
MethodParameters:
Name Flags
action
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<TE;>;
SourceFile: "PriorityBlockingQueue.java"
NestHost: java.util.concurrent.PriorityBlockingQueue
InnerClasses:
final Itr = java.util.concurrent.PriorityBlockingQueue$Itr of java.util.concurrent.PriorityBlockingQueue