public final class org.apache.lucene.search.DisiPriorityQueue implements java.lang.Iterable<org.apache.lucene.search.DisiWrapper>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.search.DisiPriorityQueue
super_class: java.lang.Object
{
private final org.apache.lucene.search.DisiWrapper[] heap;
descriptor: [Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static int leftNode(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
iadd
iconst_1
ishl
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 node I
MethodParameters:
Name Flags
node
static int rightNode(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 leftNode I
MethodParameters:
Name Flags
leftNode
static int parentNode(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
iadd
iconst_1
iushr
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 node I
MethodParameters:
Name Flags
node
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
anewarray org.apache.lucene.search.DisiWrapper
putfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
2: aload 0
iconst_0
putfield org.apache.lucene.search.DisiPriorityQueue.size:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
0 4 1 maxSize I
MethodParameters:
Name Flags
maxSize
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
public org.apache.lucene.search.DisiWrapper top();
descriptor: ()Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
public org.apache.lucene.search.DisiWrapper topList();
descriptor: ()Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
astore 1
start local 1 1: aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.size:I
istore 2
start local 2 2: aload 1
iconst_0
aaload
astore 3
start local 3 3: aload 3
aconst_null
putfield org.apache.lucene.search.DisiWrapper.next:Lorg/apache/lucene/search/DisiWrapper;
4: iload 2
iconst_3
if_icmplt 8
5: aload 0
aload 3
aload 1
iload 2
iconst_1
invokevirtual org.apache.lucene.search.DisiPriorityQueue.topList:(Lorg/apache/lucene/search/DisiWrapper;[Lorg/apache/lucene/search/DisiWrapper;II)Lorg/apache/lucene/search/DisiWrapper;
astore 3
6: aload 0
aload 3
aload 1
iload 2
iconst_2
invokevirtual org.apache.lucene.search.DisiPriorityQueue.topList:(Lorg/apache/lucene/search/DisiWrapper;[Lorg/apache/lucene/search/DisiWrapper;II)Lorg/apache/lucene/search/DisiWrapper;
astore 3
7: goto 10
StackMap locals: org.apache.lucene.search.DisiWrapper[] int org.apache.lucene.search.DisiWrapper
StackMap stack:
8: iload 2
iconst_2
if_icmpne 10
aload 1
iconst_1
aaload
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 3
getfield org.apache.lucene.search.DisiWrapper.doc:I
if_icmpne 10
9: aload 0
aload 1
iconst_1
aaload
aload 3
invokevirtual org.apache.lucene.search.DisiPriorityQueue.prepend:(Lorg/apache/lucene/search/DisiWrapper;Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
astore 3
10: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
1 11 1 heap [Lorg/apache/lucene/search/DisiWrapper;
2 11 2 size I
3 11 3 list Lorg/apache/lucene/search/DisiWrapper;
private org.apache.lucene.search.DisiWrapper prepend(org.apache.lucene.search.DisiWrapper, org.apache.lucene.search.DisiWrapper);
descriptor: (Lorg/apache/lucene/search/DisiWrapper;Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
putfield org.apache.lucene.search.DisiWrapper.next:Lorg/apache/lucene/search/DisiWrapper;
1: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
0 2 1 w1 Lorg/apache/lucene/search/DisiWrapper;
0 2 2 w2 Lorg/apache/lucene/search/DisiWrapper;
MethodParameters:
Name Flags
w1
w2
private org.apache.lucene.search.DisiWrapper topList(org.apache.lucene.search.DisiWrapper, org.apache.lucene.search.DisiWrapper[], int, int);
descriptor: (Lorg/apache/lucene/search/DisiWrapper;[Lorg/apache/lucene/search/DisiWrapper;II)Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
iload 4
aaload
astore 5
start local 5 1: aload 5
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 1
getfield org.apache.lucene.search.DisiWrapper.doc:I
if_icmpne 11
2: aload 0
aload 5
aload 1
invokevirtual org.apache.lucene.search.DisiPriorityQueue.prepend:(Lorg/apache/lucene/search/DisiWrapper;Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
astore 1
3: iload 4
invokestatic org.apache.lucene.search.DisiPriorityQueue.leftNode:(I)I
istore 6
start local 6 4: iload 6
iconst_1
iadd
istore 7
start local 7 5: iload 7
iload 3
if_icmpge 9
6: aload 0
aload 1
aload 2
iload 3
iload 6
invokevirtual org.apache.lucene.search.DisiPriorityQueue.topList:(Lorg/apache/lucene/search/DisiWrapper;[Lorg/apache/lucene/search/DisiWrapper;II)Lorg/apache/lucene/search/DisiWrapper;
astore 1
7: aload 0
aload 1
aload 2
iload 3
iload 7
invokevirtual org.apache.lucene.search.DisiPriorityQueue.topList:(Lorg/apache/lucene/search/DisiWrapper;[Lorg/apache/lucene/search/DisiWrapper;II)Lorg/apache/lucene/search/DisiWrapper;
astore 1
8: goto 11
StackMap locals: org.apache.lucene.search.DisiWrapper int int
StackMap stack:
9: iload 6
iload 3
if_icmpge 11
aload 2
iload 6
aaload
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 1
getfield org.apache.lucene.search.DisiWrapper.doc:I
if_icmpne 11
10: aload 0
aload 2
iload 6
aaload
aload 1
invokevirtual org.apache.lucene.search.DisiPriorityQueue.prepend:(Lorg/apache/lucene/search/DisiWrapper;Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
astore 1
end local 7 end local 6 11: StackMap locals:
StackMap stack:
aload 1
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
0 12 1 list Lorg/apache/lucene/search/DisiWrapper;
0 12 2 heap [Lorg/apache/lucene/search/DisiWrapper;
0 12 3 size I
0 12 4 i I
1 12 5 w Lorg/apache/lucene/search/DisiWrapper;
4 11 6 left I
5 11 7 right I
MethodParameters:
Name Flags
list
heap
size
i
public org.apache.lucene.search.DisiWrapper add(org.apache.lucene.search.DisiWrapper);
descriptor: (Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
astore 2
start local 2 1: aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.size:I
istore 3
start local 3 2: aload 2
iload 3
aload 1
aastore
3: aload 0
iload 3
invokevirtual org.apache.lucene.search.DisiPriorityQueue.upHeap:(I)V
4: aload 0
iload 3
iconst_1
iadd
putfield org.apache.lucene.search.DisiPriorityQueue.size:I
5: aload 2
iconst_0
aaload
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
0 6 1 entry Lorg/apache/lucene/search/DisiWrapper;
1 6 2 heap [Lorg/apache/lucene/search/DisiWrapper;
2 6 3 size I
MethodParameters:
Name Flags
entry
public org.apache.lucene.search.DisiWrapper pop();
descriptor: ()Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
astore 1
start local 1 1: aload 1
iconst_0
aaload
astore 2
start local 2 2: aload 0
dup
getfield org.apache.lucene.search.DisiPriorityQueue.size:I
iconst_1
isub
dup_x1
putfield org.apache.lucene.search.DisiPriorityQueue.size:I
istore 3
start local 3 3: aload 1
iconst_0
aload 1
iload 3
aaload
aastore
4: aload 1
iload 3
aconst_null
aastore
5: aload 0
iload 3
invokevirtual org.apache.lucene.search.DisiPriorityQueue.downHeap:(I)V
6: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
1 7 1 heap [Lorg/apache/lucene/search/DisiWrapper;
2 7 2 result Lorg/apache/lucene/search/DisiWrapper;
3 7 3 i I
public org.apache.lucene.search.DisiWrapper updateTop();
descriptor: ()Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.size:I
invokevirtual org.apache.lucene.search.DisiPriorityQueue.downHeap:(I)V
1: aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
org.apache.lucene.search.DisiWrapper updateTop(org.apache.lucene.search.DisiWrapper);
descriptor: (Lorg/apache/lucene/search/DisiWrapper;)Lorg/apache/lucene/search/DisiWrapper;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aload 1
aastore
1: aload 0
invokevirtual org.apache.lucene.search.DisiPriorityQueue.updateTop:()Lorg/apache/lucene/search/DisiWrapper;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
0 2 1 topReplacement Lorg/apache/lucene/search/DisiWrapper;
MethodParameters:
Name Flags
topReplacement
void upHeap(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 1
aaload
astore 2
start local 2 1: aload 2
getfield org.apache.lucene.search.DisiWrapper.doc:I
istore 3
start local 3 2: iload 1
invokestatic org.apache.lucene.search.DisiPriorityQueue.parentNode:(I)I
istore 4
start local 4 3: goto 7
4: StackMap locals: org.apache.lucene.search.DisiWrapper int int
StackMap stack:
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 1
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 4
aaload
aastore
5: iload 4
istore 1
6: iload 4
invokestatic org.apache.lucene.search.DisiPriorityQueue.parentNode:(I)I
istore 4
7: StackMap locals:
StackMap stack:
iload 4
iflt 8
iload 3
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 4
aaload
getfield org.apache.lucene.search.DisiWrapper.doc:I
if_icmplt 4
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 1
aload 2
aastore
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
0 10 1 i I
1 10 2 node Lorg/apache/lucene/search/DisiWrapper;
2 10 3 nodeDoc I
3 10 4 j I
MethodParameters:
Name Flags
i
void downHeap(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iconst_0
aaload
astore 3
start local 3 2: iload 2
invokestatic org.apache.lucene.search.DisiPriorityQueue.leftNode:(I)I
istore 4
start local 4 3: iload 4
iload 1
if_icmpge 17
4: iload 4
invokestatic org.apache.lucene.search.DisiPriorityQueue.rightNode:(I)I
istore 5
start local 5 5: iload 5
iload 1
if_icmpge 7
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 5
aaload
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 4
aaload
getfield org.apache.lucene.search.DisiWrapper.doc:I
if_icmpge 7
6: iload 5
istore 4
7: StackMap locals: org.apache.lucene.search.DisiPriorityQueue int int org.apache.lucene.search.DisiWrapper int int
StackMap stack:
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 4
aaload
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 3
getfield org.apache.lucene.search.DisiWrapper.doc:I
if_icmpge 17
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 2
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 4
aaload
aastore
9: iload 4
istore 2
10: iload 2
invokestatic org.apache.lucene.search.DisiPriorityQueue.leftNode:(I)I
istore 4
11: iload 4
invokestatic org.apache.lucene.search.DisiPriorityQueue.rightNode:(I)I
istore 5
12: iload 5
iload 1
if_icmpge 14
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 5
aaload
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 4
aaload
getfield org.apache.lucene.search.DisiWrapper.doc:I
if_icmpge 14
13: iload 5
istore 4
14: StackMap locals:
StackMap stack:
iload 4
iload 1
if_icmpge 16
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 4
aaload
getfield org.apache.lucene.search.DisiWrapper.doc:I
aload 3
getfield org.apache.lucene.search.DisiWrapper.doc:I
15: if_icmplt 8
16: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
iload 2
aload 3
aastore
end local 5 17: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
0 18 1 size I
1 18 2 i I
2 18 3 node Lorg/apache/lucene/search/DisiWrapper;
3 18 4 j I
5 17 5 k I
MethodParameters:
Name Flags
size
public java.util.Iterator<org.apache.lucene.search.DisiWrapper> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.heap:[Lorg/apache/lucene/search/DisiWrapper;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_0
aload 0
getfield org.apache.lucene.search.DisiPriorityQueue.size:I
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/DisiPriorityQueue;
Signature: ()Ljava/util/Iterator<Lorg/apache/lucene/search/DisiWrapper;>;
}
Signature: Ljava/lang/Object;Ljava/lang/Iterable<Lorg/apache/lucene/search/DisiWrapper;>;
SourceFile: "DisiPriorityQueue.java"