public final class io.netty.util.internal.DefaultPriorityQueue<T extends io.netty.util.internal.PriorityQueueNode> extends java.util.AbstractQueue<T> implements io.netty.util.internal.PriorityQueue<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.util.internal.DefaultPriorityQueue
super_class: java.util.AbstractQueue
{
private static final io.netty.util.internal.PriorityQueueNode[] EMPTY_ARRAY;
descriptor: [Lio/netty/util/internal/PriorityQueueNode;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.Comparator<T> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Comparator<TT;>;
private T[] queue;
descriptor: [Lio/netty/util/internal/PriorityQueueNode;
flags: (0x0002) ACC_PRIVATE
Signature: [TT;
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray io.netty.util.internal.PriorityQueueNode
putstatic io.netty.util.internal.DefaultPriorityQueue.EMPTY_ARRAY:[Lio/netty/util/internal/PriorityQueueNode;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.util.Comparator<T>, );
descriptor: (Ljava/util/Comparator;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.util.AbstractQueue.<init>:()V
1: aload 0
aload 1
ldc "comparator"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.Comparator
putfield io.netty.util.internal.DefaultPriorityQueue.comparator:Ljava/util/Comparator;
2: aload 0
iload 2
ifeq 3
iload 2
anewarray io.netty.util.internal.PriorityQueueNode
goto 4
StackMap locals: io.netty.util.internal.DefaultPriorityQueue java.util.Comparator int
StackMap stack: io.netty.util.internal.DefaultPriorityQueue
3: getstatic io.netty.util.internal.DefaultPriorityQueue.EMPTY_ARRAY:[Lio/netty/util/internal/PriorityQueueNode;
StackMap locals: io.netty.util.internal.DefaultPriorityQueue java.util.Comparator int
StackMap stack: io.netty.util.internal.DefaultPriorityQueue io.netty.util.internal.PriorityQueueNode[]
4: putfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
0 6 1 comparator Ljava/util/Comparator<TT;>;
0 6 2 initialSize I
Signature: (Ljava/util/Comparator<TT;>;I)V
MethodParameters:
Name Flags
comparator
initialSize
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
ifne 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 Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof io.netty.util.internal.PriorityQueueNode
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast io.netty.util.internal.PriorityQueueNode
astore 2
start local 2 3: aload 0
aload 2
aload 2
aload 0
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;)I
invokevirtual io.netty.util.internal.DefaultPriorityQueue.contains:(Lio/netty/util/internal/PriorityQueueNode;I)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
0 4 1 o Ljava/lang/Object;
3 4 2 node Lio/netty/util/internal/PriorityQueueNode;
MethodParameters:
Name Flags
o
public boolean containsTyped();
descriptor: (Lio/netty/util/internal/PriorityQueueNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
aload 0
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;)I
invokevirtual io.netty.util.internal.DefaultPriorityQueue.contains:(Lio/netty/util/internal/PriorityQueueNode;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
0 1 1 node TT;
Signature: (TT;)Z
MethodParameters:
Name Flags
node
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 7
2: StackMap locals: int
StackMap stack:
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 1
aaload
astore 2
start local 2 3: aload 2
ifnull 6
4: aload 2
aload 0
iconst_m1
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;I)V
5: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 1
aconst_null
aastore
end local 2 6: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
7: iload 1
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
if_icmplt 2
end local 1 8: aload 0
iconst_0
putfield io.netty.util.internal.DefaultPriorityQueue.size:I
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
1 8 1 i I
3 6 2 node TT;
public void clearIgnoringIndexes();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield io.netty.util.internal.DefaultPriorityQueue.size:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
public boolean offer();
descriptor: (Lio/netty/util/internal/PriorityQueueNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;)I
iconst_m1
if_icmpeq 4
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "e.priorityQueueIndex(): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
aload 0
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;)I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: ldc " (expected: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iconst_m1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ") + e: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
arraylength
if_icmplt 10
5: aload 0
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
arraylength
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
arraylength
bipush 64
if_icmpge 7
6: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
arraylength
iconst_2
iadd
goto 8
7: StackMap locals: io.netty.util.internal.DefaultPriorityQueue io.netty.util.internal.PriorityQueueNode
StackMap stack: io.netty.util.internal.DefaultPriorityQueue io.netty.util.internal.PriorityQueueNode[] int
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
arraylength
iconst_1
iushr
StackMap locals: io.netty.util.internal.DefaultPriorityQueue io.netty.util.internal.PriorityQueueNode
StackMap stack: io.netty.util.internal.DefaultPriorityQueue io.netty.util.internal.PriorityQueueNode[] int int
8: iadd
9: invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast io.netty.util.internal.PriorityQueueNode[]
putfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
10: StackMap locals:
StackMap stack:
aload 0
aload 0
dup
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
dup_x1
iconst_1
iadd
putfield io.netty.util.internal.DefaultPriorityQueue.size:I
aload 1
invokevirtual io.netty.util.internal.DefaultPriorityQueue.bubbleUp:(ILio/netty/util/internal/PriorityQueueNode;)V
11: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
0 12 1 e TT;
Signature: (TT;)Z
MethodParameters:
Name Flags
e
public T poll();
descriptor: ()Lio/netty/util/internal/PriorityQueueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iconst_0
aaload
astore 1
start local 1 3: aload 1
aload 0
iconst_m1
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;I)V
4: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
aload 0
dup
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
iconst_1
isub
dup_x1
putfield io.netty.util.internal.DefaultPriorityQueue.size:I
aaload
astore 2
start local 2 5: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
aconst_null
aastore
6: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
ifeq 8
7: aload 0
iconst_0
aload 2
invokevirtual io.netty.util.internal.DefaultPriorityQueue.bubbleDown:(ILio/netty/util/internal/PriorityQueueNode;)V
8: StackMap locals: io.netty.util.internal.PriorityQueueNode io.netty.util.internal.PriorityQueueNode
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
3 9 1 result TT;
5 9 2 last TT;
Signature: ()TT;
public T peek();
descriptor: ()Lio/netty/util/internal/PriorityQueueNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
ifne 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iconst_0
aaload
StackMap locals:
StackMap stack: io.netty.util.internal.PriorityQueueNode
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
Signature: ()TT;
public boolean remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast io.netty.util.internal.PriorityQueueNode
astore 2
start local 2 1: goto 4
end local 2 StackMap locals:
StackMap stack: java.lang.ClassCastException
2: pop
3: iconst_0
ireturn
start local 2 4: StackMap locals: io.netty.util.internal.PriorityQueueNode
StackMap stack:
aload 0
aload 2
invokevirtual io.netty.util.internal.DefaultPriorityQueue.removeTyped:(Lio/netty/util/internal/PriorityQueueNode;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
0 5 1 o Ljava/lang/Object;
1 2 2 node TT;
4 5 2 node TT;
Exception table:
from to target type
0 1 2 Class java.lang.ClassCastException
MethodParameters:
Name Flags
o
public boolean removeTyped();
descriptor: (Lio/netty/util/internal/PriorityQueueNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;)I
istore 2
start local 2 1: aload 0
aload 1
iload 2
invokevirtual io.netty.util.internal.DefaultPriorityQueue.contains:(Lio/netty/util/internal/PriorityQueueNode;I)Z
ifne 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
aload 1
aload 0
iconst_m1
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;I)V
4: aload 0
dup
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
iconst_1
isub
dup_x1
putfield io.netty.util.internal.DefaultPriorityQueue.size:I
ifeq 5
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
iload 2
if_icmpne 7
5: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 2
aconst_null
aastore
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 2
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
aaload
dup_x2
aastore
astore 3
start local 3 8: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
aconst_null
aastore
9: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.comparator:Ljava/util/Comparator;
aload 1
aload 3
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifge 12
10: aload 0
iload 2
aload 3
invokevirtual io.netty.util.internal.DefaultPriorityQueue.bubbleDown:(ILio/netty/util/internal/PriorityQueueNode;)V
11: goto 13
12: StackMap locals: io.netty.util.internal.PriorityQueueNode
StackMap stack:
aload 0
iload 2
aload 3
invokevirtual io.netty.util.internal.DefaultPriorityQueue.bubbleUp:(ILio/netty/util/internal/PriorityQueueNode;)V
13: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
0 14 1 node TT;
1 14 2 i I
8 14 3 moved TT;
Signature: (TT;)Z
MethodParameters:
Name Flags
node
public void priorityChanged();
descriptor: (Lio/netty/util/internal/PriorityQueueNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;)I
istore 2
start local 2 1: aload 0
aload 1
iload 2
invokevirtual io.netty.util.internal.DefaultPriorityQueue.contains:(Lio/netty/util/internal/PriorityQueueNode;I)Z
ifne 3
2: return
3: StackMap locals: int
StackMap stack:
iload 2
ifne 6
4: aload 0
iload 2
aload 1
invokevirtual io.netty.util.internal.DefaultPriorityQueue.bubbleDown:(ILio/netty/util/internal/PriorityQueueNode;)V
5: goto 12
6: StackMap locals:
StackMap stack:
iload 2
iconst_1
isub
iconst_1
iushr
istore 3
start local 3 7: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 3
aaload
astore 4
start local 4 8: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.comparator:Ljava/util/Comparator;
aload 1
aload 4
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifge 11
9: aload 0
iload 2
aload 1
invokevirtual io.netty.util.internal.DefaultPriorityQueue.bubbleUp:(ILio/netty/util/internal/PriorityQueueNode;)V
10: goto 12
11: StackMap locals: int io.netty.util.internal.PriorityQueueNode
StackMap stack:
aload 0
iload 2
aload 1
invokevirtual io.netty.util.internal.DefaultPriorityQueue.bubbleDown:(ILio/netty/util/internal/PriorityQueueNode;)V
end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
0 13 1 node TT;
1 13 2 i I
7 12 3 iParent I
8 12 4 parent TT;
Signature: (TT;)V
MethodParameters:
Name Flags
node
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
public <X> X[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
arraylength
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
if_icmpge 2
1: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iconst_0
aload 1
iconst_0
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 1
arraylength
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
if_icmple 5
4: aload 1
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
aconst_null
aastore
5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
0 6 1 a [Ljava/lang/Object;
Signature: <X:Ljava/lang/Object;>([TX;)[TX;
MethodParameters:
Name Flags
a
public java.util.Iterator<T> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new io.netty.util.internal.DefaultPriorityQueue$PriorityQueueIterator
dup
aload 0
invokespecial io.netty.util.internal.DefaultPriorityQueue$PriorityQueueIterator.<init>:(Lio/netty/util/internal/DefaultPriorityQueue;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
Signature: ()Ljava/util/Iterator<TT;>;
private boolean contains(io.netty.util.internal.PriorityQueueNode, int);
descriptor: (Lio/netty/util/internal/PriorityQueueNode;I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iflt 1
iload 2
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
if_icmpge 1
aload 1
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 2
aaload
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
0 2 1 node Lio/netty/util/internal/PriorityQueueNode;
0 2 2 i I
MethodParameters:
Name Flags
node
i
private void bubbleDown(int, );
descriptor: (ILio/netty/util/internal/PriorityQueueNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
iconst_1
iushr
istore 3
start local 3 1: goto 12
2: StackMap locals: int
StackMap stack:
iload 1
iconst_1
ishl
iconst_1
iadd
istore 4
start local 4 3: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 4
aaload
astore 5
start local 5 4: iload 4
iconst_1
iadd
istore 6
start local 6 5: iload 6
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.size:I
if_icmpge 7
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.comparator:Ljava/util/Comparator;
aload 5
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 6
aaload
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifle 7
6: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 6
dup
istore 4
aaload
astore 5
7: StackMap locals: int io.netty.util.internal.PriorityQueueNode int
StackMap stack:
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.comparator:Ljava/util/Comparator;
aload 2
aload 5
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifgt 9
8: goto 13
9: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 1
aload 5
aastore
10: aload 5
aload 0
iload 1
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;I)V
11: iload 4
istore 1
end local 6 end local 5 end local 4 12: StackMap locals:
StackMap stack:
iload 1
iload 3
if_icmplt 2
13: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 1
aload 2
aastore
14: aload 2
aload 0
iload 1
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;I)V
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
0 16 1 k I
0 16 2 node TT;
1 16 3 half I
3 12 4 iChild I
4 12 5 child TT;
5 12 6 rightChild I
Signature: (ITT;)V
MethodParameters:
Name Flags
k
node
private void bubbleUp(int, );
descriptor: (ILio/netty/util/internal/PriorityQueueNode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: goto 8
1: StackMap locals:
StackMap stack:
iload 1
iconst_1
isub
iconst_1
iushr
istore 3
start local 3 2: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 3
aaload
astore 4
start local 4 3: aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.comparator:Ljava/util/Comparator;
aload 2
aload 4
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
iflt 5
4: goto 9
5: StackMap locals: int io.netty.util.internal.PriorityQueueNode
StackMap stack:
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 1
aload 4
aastore
6: aload 4
aload 0
iload 1
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;I)V
7: iload 3
istore 1
end local 4 end local 3 8: StackMap locals:
StackMap stack:
iload 1
ifgt 1
9: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.util.internal.DefaultPriorityQueue.queue:[Lio/netty/util/internal/PriorityQueueNode;
iload 1
aload 2
aastore
10: aload 2
aload 0
iload 1
invokeinterface io.netty.util.internal.PriorityQueueNode.priorityQueueIndex:(Lio/netty/util/internal/DefaultPriorityQueue;I)V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/netty/util/internal/DefaultPriorityQueue<TT;>;
0 12 1 k I
0 12 2 node TT;
2 8 3 iParent I
3 8 4 parent TT;
Signature: (ITT;)V
MethodParameters:
Name Flags
k
node
public java.lang.Object poll();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.netty.util.internal.DefaultPriorityQueue.poll:()Lio/netty/util/internal/PriorityQueueNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void priorityChanged(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.netty.util.internal.PriorityQueueNode
invokevirtual io.netty.util.internal.DefaultPriorityQueue.priorityChanged:(Lio/netty/util/internal/PriorityQueueNode;)V
return
LocalVariableTable:
Start End Slot Name Signature
public boolean removeTyped(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.netty.util.internal.PriorityQueueNode
invokevirtual io.netty.util.internal.DefaultPriorityQueue.removeTyped:(Lio/netty/util/internal/PriorityQueueNode;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object peek();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual io.netty.util.internal.DefaultPriorityQueue.peek:()Lio/netty/util/internal/PriorityQueueNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean offer(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.netty.util.internal.PriorityQueueNode
invokevirtual io.netty.util.internal.DefaultPriorityQueue.offer:(Lio/netty/util/internal/PriorityQueueNode;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public boolean containsTyped(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast io.netty.util.internal.PriorityQueueNode
invokevirtual io.netty.util.internal.DefaultPriorityQueue.containsTyped:(Lio/netty/util/internal/PriorityQueueNode;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T::Lio/netty/util/internal/PriorityQueueNode;>Ljava/util/AbstractQueue<TT;>;Lio/netty/util/internal/PriorityQueue<TT;>;
SourceFile: "DefaultPriorityQueue.java"
NestMembers:
io.netty.util.internal.DefaultPriorityQueue$PriorityQueueIterator
InnerClasses:
private final PriorityQueueIterator = io.netty.util.internal.DefaultPriorityQueue$PriorityQueueIterator of io.netty.util.internal.DefaultPriorityQueue