public abstract class org.apache.lucene.search.FieldValueHitQueue<T extends org.apache.lucene.search.FieldValueHitQueue$Entry> extends org.apache.lucene.util.PriorityQueue<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.search.FieldValueHitQueue
super_class: org.apache.lucene.util.PriorityQueue
{
protected final org.apache.lucene.search.SortField[] fields;
descriptor: [Lorg/apache/lucene/search/SortField;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.apache.lucene.search.FieldComparator<?>[] comparators;
descriptor: [Lorg/apache/lucene/search/FieldComparator;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: [Lorg/apache/lucene/search/FieldComparator<*>;
protected final int[] reverseMul;
descriptor: [I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private void <init>(org.apache.lucene.search.SortField[], int);
descriptor: ([Lorg/apache/lucene/search/SortField;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
invokespecial org.apache.lucene.util.PriorityQueue.<init>:(I)V
1: aload 0
aload 1
putfield org.apache.lucene.search.FieldValueHitQueue.fields:[Lorg/apache/lucene/search/SortField;
2: aload 1
arraylength
istore 3
start local 3 3: aload 0
iload 3
anewarray org.apache.lucene.search.FieldComparator
putfield org.apache.lucene.search.FieldValueHitQueue.comparators:[Lorg/apache/lucene/search/FieldComparator;
4: aload 0
iload 3
newarray 10
putfield org.apache.lucene.search.FieldValueHitQueue.reverseMul:[I
5: iconst_0
istore 4
start local 4 6: goto 13
7: StackMap locals: org.apache.lucene.search.FieldValueHitQueue org.apache.lucene.search.SortField[] int int int
StackMap stack:
aload 1
iload 4
aaload
astore 5
start local 5 8: aload 0
getfield org.apache.lucene.search.FieldValueHitQueue.reverseMul:[I
iload 4
aload 5
getfield org.apache.lucene.search.SortField.reverse:Z
ifeq 9
iconst_m1
goto 10
StackMap locals: org.apache.lucene.search.FieldValueHitQueue org.apache.lucene.search.SortField[] int int int org.apache.lucene.search.SortField
StackMap stack: int[] int
9: iconst_1
StackMap locals: org.apache.lucene.search.FieldValueHitQueue org.apache.lucene.search.SortField[] int int int org.apache.lucene.search.SortField
StackMap stack: int[] int int
10: iastore
11: aload 0
getfield org.apache.lucene.search.FieldValueHitQueue.comparators:[Lorg/apache/lucene/search/FieldComparator;
iload 4
aload 5
iload 2
iload 4
invokevirtual org.apache.lucene.search.SortField.getComparator:(II)Lorg/apache/lucene/search/FieldComparator;
aastore
end local 5 12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 3
if_icmplt 7
end local 4 14: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/lucene/search/FieldValueHitQueue<TT;>;
0 15 1 fields [Lorg/apache/lucene/search/SortField;
0 15 2 size I
3 15 3 numComparators I
6 14 4 i I
8 12 5 field Lorg/apache/lucene/search/SortField;
MethodParameters:
Name Flags
fields
size
public static <T extends org.apache.lucene.search.FieldValueHitQueue$Entry> org.apache.lucene.search.FieldValueHitQueue<T> create(org.apache.lucene.search.SortField[], int);
descriptor: ([Lorg/apache/lucene/search/SortField;I)Lorg/apache/lucene/search/FieldValueHitQueue;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
arraylength
ifne 2
1: new java.lang.IllegalArgumentException
dup
ldc "Sort must contain at least one field"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
arraylength
iconst_1
if_icmpne 4
3: new org.apache.lucene.search.FieldValueHitQueue$OneComparatorFieldValueHitQueue
dup
aload 0
iload 1
invokespecial org.apache.lucene.search.FieldValueHitQueue$OneComparatorFieldValueHitQueue.<init>:([Lorg/apache/lucene/search/SortField;I)V
areturn
4: StackMap locals:
StackMap stack:
new org.apache.lucene.search.FieldValueHitQueue$MultiComparatorsFieldValueHitQueue
dup
aload 0
iload 1
invokespecial org.apache.lucene.search.FieldValueHitQueue$MultiComparatorsFieldValueHitQueue.<init>:([Lorg/apache/lucene/search/SortField;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 fields [Lorg/apache/lucene/search/SortField;
0 5 1 size I
Signature: <T:Lorg/apache/lucene/search/FieldValueHitQueue$Entry;>([Lorg/apache/lucene/search/SortField;I)Lorg/apache/lucene/search/FieldValueHitQueue<TT;>;
MethodParameters:
Name Flags
fields
size
public org.apache.lucene.search.FieldComparator<?>[] getComparators();
descriptor: ()[Lorg/apache/lucene/search/FieldComparator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.FieldValueHitQueue.comparators:[Lorg/apache/lucene/search/FieldComparator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/FieldValueHitQueue<TT;>;
Signature: ()[Lorg/apache/lucene/search/FieldComparator<*>;
public int[] getReverseMul();
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.FieldValueHitQueue.reverseMul:[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/FieldValueHitQueue<TT;>;
public org.apache.lucene.search.LeafFieldComparator[] getComparators(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)[Lorg/apache/lucene/search/LeafFieldComparator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.FieldValueHitQueue.comparators:[Lorg/apache/lucene/search/FieldComparator;
arraylength
anewarray org.apache.lucene.search.LeafFieldComparator
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: org.apache.lucene.search.LeafFieldComparator[] int
StackMap stack:
aload 2
iload 3
aload 0
getfield org.apache.lucene.search.FieldValueHitQueue.comparators:[Lorg/apache/lucene/search/FieldComparator;
iload 3
aaload
aload 1
invokevirtual org.apache.lucene.search.FieldComparator.getLeafComparator:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/LeafFieldComparator;
aastore
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/search/FieldValueHitQueue<TT;>;
0 7 1 context Lorg/apache/lucene/index/LeafReaderContext;
1 7 2 comparators [Lorg/apache/lucene/search/LeafFieldComparator;
2 6 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
protected abstract boolean lessThan(org.apache.lucene.search.FieldValueHitQueue$Entry, org.apache.lucene.search.FieldValueHitQueue$Entry);
descriptor: (Lorg/apache/lucene/search/FieldValueHitQueue$Entry;Lorg/apache/lucene/search/FieldValueHitQueue$Entry;)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
a final
b final
org.apache.lucene.search.FieldDoc fillFields(org.apache.lucene.search.FieldValueHitQueue$Entry);
descriptor: (Lorg/apache/lucene/search/FieldValueHitQueue$Entry;)Lorg/apache/lucene/search/FieldDoc;
flags: (0x0000)
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.FieldValueHitQueue.comparators:[Lorg/apache/lucene/search/FieldComparator;
arraylength
istore 2
start local 2 1: iload 2
anewarray java.lang.Object
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: int java.lang.Object[] int
StackMap stack:
aload 3
iload 4
aload 0
getfield org.apache.lucene.search.FieldValueHitQueue.comparators:[Lorg/apache/lucene/search/FieldComparator;
iload 4
aaload
aload 1
getfield org.apache.lucene.search.FieldValueHitQueue$Entry.slot:I
invokevirtual org.apache.lucene.search.FieldComparator.value:(I)Ljava/lang/Object;
aastore
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 2
if_icmplt 4
end local 4 7: new org.apache.lucene.search.FieldDoc
dup
aload 1
getfield org.apache.lucene.search.FieldValueHitQueue$Entry.doc:I
aload 1
getfield org.apache.lucene.search.FieldValueHitQueue$Entry.score:F
aload 3
invokespecial org.apache.lucene.search.FieldDoc.<init>:(IF[Ljava/lang/Object;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/search/FieldValueHitQueue<TT;>;
0 8 1 entry Lorg/apache/lucene/search/FieldValueHitQueue$Entry;
1 8 2 n I
2 8 3 fields [Ljava/lang/Object;
3 7 4 i I
MethodParameters:
Name Flags
entry final
org.apache.lucene.search.SortField[] getFields();
descriptor: ()[Lorg/apache/lucene/search/SortField;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.FieldValueHitQueue.fields:[Lorg/apache/lucene/search/SortField;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/FieldValueHitQueue<TT;>;
protected boolean lessThan(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.apache.lucene.search.FieldValueHitQueue$Entry
aload 2
checkcast org.apache.lucene.search.FieldValueHitQueue$Entry
invokevirtual org.apache.lucene.search.FieldValueHitQueue.lessThan:(Lorg/apache/lucene/search/FieldValueHitQueue$Entry;Lorg/apache/lucene/search/FieldValueHitQueue$Entry;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Lorg/apache/lucene/search/FieldValueHitQueue$Entry;>Lorg/apache/lucene/util/PriorityQueue<TT;>;
SourceFile: "FieldValueHitQueue.java"
NestMembers:
org.apache.lucene.search.FieldValueHitQueue$Entry org.apache.lucene.search.FieldValueHitQueue$MultiComparatorsFieldValueHitQueue org.apache.lucene.search.FieldValueHitQueue$OneComparatorFieldValueHitQueue
InnerClasses:
public Entry = org.apache.lucene.search.FieldValueHitQueue$Entry of org.apache.lucene.search.FieldValueHitQueue
private final MultiComparatorsFieldValueHitQueue = org.apache.lucene.search.FieldValueHitQueue$MultiComparatorsFieldValueHitQueue of org.apache.lucene.search.FieldValueHitQueue
private final OneComparatorFieldValueHitQueue = org.apache.lucene.search.FieldValueHitQueue$OneComparatorFieldValueHitQueue of org.apache.lucene.search.FieldValueHitQueue