public class org.apache.lucene.util.fst.Util$TopNSearcher<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.util.fst.Util$TopNSearcher
super_class: java.lang.Object
{
private final org.apache.lucene.util.fst.FST<T> fst;
descriptor: Lorg/apache/lucene/util/fst/FST;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/lucene/util/fst/FST<TT;>;
private final org.apache.lucene.util.fst.FST$BytesReader bytesReader;
descriptor: Lorg/apache/lucene/util/fst/FST$BytesReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int topN;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int maxQueueDepth;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.util.fst.FST$Arc<T> scratchArc;
descriptor: Lorg/apache/lucene/util/fst/FST$Arc;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/lucene/util/fst/FST$Arc<TT;>;
private final java.util.Comparator<T> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Comparator<TT;>;
private final java.util.Comparator<org.apache.lucene.util.fst.Util$FSTPath<T>> pathComparator;
descriptor: Ljava/util/Comparator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Comparator<Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;>;
java.util.TreeSet<org.apache.lucene.util.fst.Util$FSTPath<T>> queue;
descriptor: Ljava/util/TreeSet;
flags: (0x0000)
Signature: Ljava/util/TreeSet<Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/util/fst/Util;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.util.fst.Util$TopNSearcher.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.lucene.util.fst.FST<T>, int, int, java.util.Comparator<T>);
descriptor: (Lorg/apache/lucene/util/fst/FST;IILjava/util/Comparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
iload 3
aload 4
new org.apache.lucene.util.fst.Util$TieBreakByInputComparator
dup
aload 4
invokespecial org.apache.lucene.util.fst.Util$TieBreakByInputComparator.<init>:(Ljava/util/Comparator;)V
invokespecial org.apache.lucene.util.fst.Util$TopNSearcher.<init>:(Lorg/apache/lucene/util/fst/FST;IILjava/util/Comparator;Ljava/util/Comparator;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/fst/Util$TopNSearcher<TT;>;
0 2 1 fst Lorg/apache/lucene/util/fst/FST<TT;>;
0 2 2 topN I
0 2 3 maxQueueDepth I
0 2 4 comparator Ljava/util/Comparator<TT;>;
Signature: (Lorg/apache/lucene/util/fst/FST<TT;>;IILjava/util/Comparator<TT;>;)V
MethodParameters:
Name Flags
fst
topN
maxQueueDepth
comparator
public void <init>(org.apache.lucene.util.fst.FST<T>, int, int, java.util.Comparator<T>, java.util.Comparator<org.apache.lucene.util.fst.Util$FSTPath<T>>);
descriptor: (Lorg/apache/lucene/util/fst/FST;IILjava/util/Comparator;Ljava/util/Comparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.apache.lucene.util.fst.FST$Arc
dup
invokespecial org.apache.lucene.util.fst.FST$Arc.<init>:()V
putfield org.apache.lucene.util.fst.Util$TopNSearcher.scratchArc:Lorg/apache/lucene/util/fst/FST$Arc;
2: aload 0
aload 1
putfield org.apache.lucene.util.fst.Util$TopNSearcher.fst:Lorg/apache/lucene/util/fst/FST;
3: aload 0
aload 1
invokevirtual org.apache.lucene.util.fst.FST.getBytesReader:()Lorg/apache/lucene/util/fst/FST$BytesReader;
putfield org.apache.lucene.util.fst.Util$TopNSearcher.bytesReader:Lorg/apache/lucene/util/fst/FST$BytesReader;
4: aload 0
iload 2
putfield org.apache.lucene.util.fst.Util$TopNSearcher.topN:I
5: aload 0
iload 3
putfield org.apache.lucene.util.fst.Util$TopNSearcher.maxQueueDepth:I
6: aload 0
aload 4
putfield org.apache.lucene.util.fst.Util$TopNSearcher.comparator:Ljava/util/Comparator;
7: aload 0
aload 5
putfield org.apache.lucene.util.fst.Util$TopNSearcher.pathComparator:Ljava/util/Comparator;
8: aload 0
new java.util.TreeSet
dup
aload 5
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
putfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
9: return
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 10 0 this Lorg/apache/lucene/util/fst/Util$TopNSearcher<TT;>;
0 10 1 fst Lorg/apache/lucene/util/fst/FST<TT;>;
0 10 2 topN I
0 10 3 maxQueueDepth I
0 10 4 comparator Ljava/util/Comparator<TT;>;
0 10 5 pathComparator Ljava/util/Comparator<Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;>;
Signature: (Lorg/apache/lucene/util/fst/FST<TT;>;IILjava/util/Comparator<TT;>;Ljava/util/Comparator<Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;>;)V
MethodParameters:
Name Flags
fst
topN
maxQueueDepth
comparator
pathComparator
protected void addIfCompetitive(org.apache.lucene.util.fst.Util$FSTPath<T>);
descriptor: (Lorg/apache/lucene/util/fst/Util$FSTPath;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.util.fst.Util$TopNSearcher.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.fst:Lorg/apache/lucene/util/fst/FST;
getfield org.apache.lucene.util.fst.FST.outputs:Lorg/apache/lucene/util/fst/Outputs;
aload 1
getfield org.apache.lucene.util.fst.Util$FSTPath.output:Ljava/lang/Object;
aload 1
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.output:()Ljava/lang/Object;
invokevirtual org.apache.lucene.util.fst.Outputs.add:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 2: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
invokevirtual java.util.TreeSet.size:()I
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.maxQueueDepth:I
if_icmpne 14
3: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
invokevirtual java.util.TreeSet.last:()Ljava/lang/Object;
checkcast org.apache.lucene.util.fst.Util$FSTPath
astore 3
start local 3 4: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.pathComparator:Ljava/util/Comparator;
aload 1
aload 3
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
istore 4
start local 4 5: iload 4
ifle 7
6: return
7: StackMap locals: java.lang.Object org.apache.lucene.util.fst.Util$FSTPath int
StackMap stack:
iload 4
ifne 14
8: aload 1
getfield org.apache.lucene.util.fst.Util$FSTPath.input:Lorg/apache/lucene/util/IntsRefBuilder;
aload 1
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.label:()I
invokevirtual org.apache.lucene.util.IntsRefBuilder.append:(I)V
9: aload 3
getfield org.apache.lucene.util.fst.Util$FSTPath.input:Lorg/apache/lucene/util/IntsRefBuilder;
invokevirtual org.apache.lucene.util.IntsRefBuilder.get:()Lorg/apache/lucene/util/IntsRef;
aload 1
getfield org.apache.lucene.util.fst.Util$FSTPath.input:Lorg/apache/lucene/util/IntsRefBuilder;
invokevirtual org.apache.lucene.util.IntsRefBuilder.get:()Lorg/apache/lucene/util/IntsRef;
invokevirtual org.apache.lucene.util.IntsRef.compareTo:(Lorg/apache/lucene/util/IntsRef;)I
istore 5
start local 5 10: aload 1
getfield org.apache.lucene.util.fst.Util$FSTPath.input:Lorg/apache/lucene/util/IntsRefBuilder;
aload 1
getfield org.apache.lucene.util.fst.Util$FSTPath.input:Lorg/apache/lucene/util/IntsRefBuilder;
invokevirtual org.apache.lucene.util.IntsRefBuilder.length:()I
iconst_1
isub
invokevirtual org.apache.lucene.util.IntsRefBuilder.setLength:(I)V
11: getstatic org.apache.lucene.util.fst.Util$TopNSearcher.$assertionsDisabled:Z
ifne 12
iload 5
ifne 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals: int
StackMap stack:
iload 5
ifge 14
13: return
end local 5 end local 4 end local 3 14: StackMap locals:
StackMap stack:
new org.apache.lucene.util.IntsRefBuilder
dup
invokespecial org.apache.lucene.util.IntsRefBuilder.<init>:()V
astore 3
start local 3 15: aload 3
aload 1
getfield org.apache.lucene.util.fst.Util$FSTPath.input:Lorg/apache/lucene/util/IntsRefBuilder;
invokevirtual org.apache.lucene.util.IntsRefBuilder.get:()Lorg/apache/lucene/util/IntsRef;
invokevirtual org.apache.lucene.util.IntsRefBuilder.copyInts:(Lorg/apache/lucene/util/IntsRef;)V
16: aload 3
aload 1
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.label:()I
invokevirtual org.apache.lucene.util.IntsRefBuilder.append:(I)V
17: aload 1
aload 2
aload 3
invokevirtual org.apache.lucene.util.fst.Util$FSTPath.newPath:(Ljava/lang/Object;Lorg/apache/lucene/util/IntsRefBuilder;)Lorg/apache/lucene/util/fst/Util$FSTPath;
astore 4
start local 4 18: aload 0
aload 4
invokevirtual org.apache.lucene.util.fst.Util$TopNSearcher.acceptPartialPath:(Lorg/apache/lucene/util/fst/Util$FSTPath;)Z
ifeq 22
19: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
aload 4
invokevirtual java.util.TreeSet.add:(Ljava/lang/Object;)Z
pop
20: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
invokevirtual java.util.TreeSet.size:()I
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.maxQueueDepth:I
iconst_1
iadd
if_icmpne 22
21: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
invokevirtual java.util.TreeSet.pollLast:()Ljava/lang/Object;
pop
22: StackMap locals: org.apache.lucene.util.IntsRefBuilder org.apache.lucene.util.fst.Util$FSTPath
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 23 0 this Lorg/apache/lucene/util/fst/Util$TopNSearcher<TT;>;
0 23 1 path Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;
2 23 2 output TT;
4 14 3 bottom Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;
5 14 4 comp I
10 14 5 cmp I
15 23 3 newInput Lorg/apache/lucene/util/IntsRefBuilder;
18 23 4 newPath Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;
Signature: (Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;)V
MethodParameters:
Name Flags
path
public void addStartPaths(org.apache.lucene.util.fst.FST$Arc<T>, T, boolean, org.apache.lucene.util.IntsRefBuilder);
descriptor: (Lorg/apache/lucene/util/fst/FST$Arc;Ljava/lang/Object;ZLorg/apache/lucene/util/IntsRefBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
aload 4
fconst_0
aconst_null
iconst_m1
invokevirtual org.apache.lucene.util.fst.Util$TopNSearcher.addStartPaths:(Lorg/apache/lucene/util/fst/FST$Arc;Ljava/lang/Object;ZLorg/apache/lucene/util/IntsRefBuilder;FLjava/lang/CharSequence;I)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/fst/Util$TopNSearcher<TT;>;
0 2 1 node Lorg/apache/lucene/util/fst/FST$Arc<TT;>;
0 2 2 startOutput TT;
0 2 3 allowEmptyString Z
0 2 4 input Lorg/apache/lucene/util/IntsRefBuilder;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/util/fst/FST$Arc<TT;>;TT;ZLorg/apache/lucene/util/IntsRefBuilder;)V
MethodParameters:
Name Flags
node
startOutput
allowEmptyString
input
public void addStartPaths(org.apache.lucene.util.fst.FST$Arc<T>, T, boolean, org.apache.lucene.util.IntsRefBuilder, float, java.lang.CharSequence, );
descriptor: (Lorg/apache/lucene/util/fst/FST$Arc;Ljava/lang/Object;ZLorg/apache/lucene/util/IntsRefBuilder;FLjava/lang/CharSequence;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 2
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.fst:Lorg/apache/lucene/util/fst/FST;
getfield org.apache.lucene.util.fst.FST.outputs:Lorg/apache/lucene/util/fst/Outputs;
invokevirtual org.apache.lucene.util.fst.Outputs.getNoOutput:()Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.fst:Lorg/apache/lucene/util/fst/FST;
getfield org.apache.lucene.util.fst.FST.outputs:Lorg/apache/lucene/util/fst/Outputs;
invokevirtual org.apache.lucene.util.fst.Outputs.getNoOutput:()Ljava/lang/Object;
astore 2
2: StackMap locals:
StackMap stack:
new org.apache.lucene.util.fst.Util$FSTPath
dup
aload 2
aload 1
aload 4
fload 5
aload 6
iload 7
invokespecial org.apache.lucene.util.fst.Util$FSTPath.<init>:(Ljava/lang/Object;Lorg/apache/lucene/util/fst/FST$Arc;Lorg/apache/lucene/util/IntsRefBuilder;FLjava/lang/CharSequence;I)V
astore 8
start local 8 3: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.fst:Lorg/apache/lucene/util/fst/FST;
aload 1
aload 8
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.bytesReader:Lorg/apache/lucene/util/fst/FST$BytesReader;
invokevirtual org.apache.lucene.util.fst.FST.readFirstTargetArc:(Lorg/apache/lucene/util/fst/FST$Arc;Lorg/apache/lucene/util/fst/FST$Arc;Lorg/apache/lucene/util/fst/FST$BytesReader;)Lorg/apache/lucene/util/fst/FST$Arc;
pop
4: StackMap locals: org.apache.lucene.util.fst.Util$FSTPath
StackMap stack:
iload 3
ifne 5
aload 8
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.label:()I
iconst_m1
if_icmpeq 6
5: StackMap locals:
StackMap stack:
aload 0
aload 8
invokevirtual org.apache.lucene.util.fst.Util$TopNSearcher.addIfCompetitive:(Lorg/apache/lucene/util/fst/Util$FSTPath;)V
6: StackMap locals:
StackMap stack:
aload 8
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.isLast:()Z
ifeq 8
7: goto 10
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.fst:Lorg/apache/lucene/util/fst/FST;
aload 8
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.bytesReader:Lorg/apache/lucene/util/fst/FST$BytesReader;
invokevirtual org.apache.lucene.util.fst.FST.readNextArc:(Lorg/apache/lucene/util/fst/FST$Arc;Lorg/apache/lucene/util/fst/FST$BytesReader;)Lorg/apache/lucene/util/fst/FST$Arc;
pop
9: goto 4
10: StackMap locals:
StackMap stack:
return
end local 8 end local 7 end local 6 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 11 0 this Lorg/apache/lucene/util/fst/Util$TopNSearcher<TT;>;
0 11 1 node Lorg/apache/lucene/util/fst/FST$Arc<TT;>;
0 11 2 startOutput TT;
0 11 3 allowEmptyString Z
0 11 4 input Lorg/apache/lucene/util/IntsRefBuilder;
0 11 5 boost F
0 11 6 context Ljava/lang/CharSequence;
0 11 7 payload I
3 11 8 path Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;
Exceptions:
throws java.io.IOException
Signature: (Lorg/apache/lucene/util/fst/FST$Arc<TT;>;TT;ZLorg/apache/lucene/util/IntsRefBuilder;FLjava/lang/CharSequence;I)V
MethodParameters:
Name Flags
node
startOutput
allowEmptyString
input
boost
context
payload
public org.apache.lucene.util.fst.Util$TopResults<T> search();
descriptor: ()Lorg/apache/lucene/util/fst/Util$TopResults;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.fst:Lorg/apache/lucene/util/fst/FST;
invokevirtual org.apache.lucene.util.fst.FST.getBytesReader:()Lorg/apache/lucene/util/fst/FST$BytesReader;
astore 2
start local 2 2: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.fst:Lorg/apache/lucene/util/fst/FST;
getfield org.apache.lucene.util.fst.FST.outputs:Lorg/apache/lucene/util/fst/Outputs;
invokevirtual org.apache.lucene.util.fst.Outputs.getNoOutput:()Ljava/lang/Object;
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 53
5: StackMap locals: org.apache.lucene.util.fst.Util$TopNSearcher java.util.List org.apache.lucene.util.fst.FST$BytesReader java.lang.Object int
StackMap stack:
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
ifnonnull 7
6: goto 54
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
invokevirtual java.util.TreeSet.pollFirst:()Ljava/lang/Object;
checkcast org.apache.lucene.util.fst.Util$FSTPath
astore 5
start local 5 8: aload 5
ifnonnull 10
9: goto 54
10: StackMap locals: org.apache.lucene.util.fst.Util$FSTPath
StackMap stack:
aload 0
aload 5
invokevirtual org.apache.lucene.util.fst.Util$TopNSearcher.acceptPartialPath:(Lorg/apache/lucene/util/fst/Util$FSTPath;)Z
ifne 12
11: goto 53
12: StackMap locals:
StackMap stack:
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.label:()I
iconst_m1
if_icmpne 16
13: aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.input:Lorg/apache/lucene/util/IntsRefBuilder;
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.input:Lorg/apache/lucene/util/IntsRefBuilder;
invokevirtual org.apache.lucene.util.IntsRefBuilder.length:()I
iconst_1
isub
invokevirtual org.apache.lucene.util.IntsRefBuilder.setLength:(I)V
14: aload 1
new org.apache.lucene.util.fst.Util$Result
dup
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.input:Lorg/apache/lucene/util/IntsRefBuilder;
invokevirtual org.apache.lucene.util.IntsRefBuilder.get:()Lorg/apache/lucene/util/IntsRef;
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.output:Ljava/lang/Object;
invokespecial org.apache.lucene.util.fst.Util$Result.<init>:(Lorg/apache/lucene/util/IntsRef;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: goto 53
16: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.size:()I
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.topN:I
iconst_1
isub
if_icmpne 18
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.maxQueueDepth:I
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.topN:I
if_icmpne 18
17: aload 0
aconst_null
putfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
18: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.fst:Lorg/apache/lucene/util/fst/FST;
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
aload 2
invokevirtual org.apache.lucene.util.fst.FST.readFirstTargetArc:(Lorg/apache/lucene/util/fst/FST$Arc;Lorg/apache/lucene/util/fst/FST$Arc;Lorg/apache/lucene/util/fst/FST$BytesReader;)Lorg/apache/lucene/util/fst/FST$Arc;
pop
19: iconst_0
istore 6
start local 6 20: iconst_0
istore 7
start local 7 21: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.comparator:Ljava/util/Comparator;
aload 3
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.output:()Ljava/lang/Object;
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifne 31
22: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
ifnonnull 25
23: iconst_1
istore 6
24: goto 40
25: StackMap locals:
StackMap stack:
iload 6
ifne 29
26: iconst_1
istore 7
27: iconst_1
istore 6
28: goto 33
29: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual org.apache.lucene.util.fst.Util$TopNSearcher.addIfCompetitive:(Lorg/apache/lucene/util/fst/Util$FSTPath;)V
30: goto 33
StackMap locals:
StackMap stack:
31: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
ifnull 33
32: aload 0
aload 5
invokevirtual org.apache.lucene.util.fst.Util$TopNSearcher.addIfCompetitive:(Lorg/apache/lucene/util/fst/Util$FSTPath;)V
33: StackMap locals:
StackMap stack:
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.isLast:()Z
ifeq 35
34: goto 40
35: StackMap locals:
StackMap stack:
iload 7
ifeq 38
36: aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.scratchArc:Lorg/apache/lucene/util/fst/FST$Arc;
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.copyFrom:(Lorg/apache/lucene/util/fst/FST$Arc;)Lorg/apache/lucene/util/fst/FST$Arc;
pop
37: iconst_0
istore 7
38: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.fst:Lorg/apache/lucene/util/fst/FST;
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
aload 2
invokevirtual org.apache.lucene.util.fst.FST.readNextArc:(Lorg/apache/lucene/util/fst/FST$Arc;Lorg/apache/lucene/util/fst/FST$BytesReader;)Lorg/apache/lucene/util/fst/FST$Arc;
pop
39: goto 21
40: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.fst.Util$TopNSearcher.$assertionsDisabled:Z
ifne 41
iload 6
ifne 41
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
41: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.queue:Ljava/util/TreeSet;
ifnull 43
iload 7
ifne 43
42: aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.scratchArc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.copyFrom:(Lorg/apache/lucene/util/fst/FST$Arc;)Lorg/apache/lucene/util/fst/FST$Arc;
pop
43: StackMap locals:
StackMap stack:
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.label:()I
iconst_m1
if_icmpne 50
44: aload 5
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.fst:Lorg/apache/lucene/util/fst/FST;
getfield org.apache.lucene.util.fst.FST.outputs:Lorg/apache/lucene/util/fst/Outputs;
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.output:Ljava/lang/Object;
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.output:()Ljava/lang/Object;
invokevirtual org.apache.lucene.util.fst.Outputs.add:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
putfield org.apache.lucene.util.fst.Util$FSTPath.output:Ljava/lang/Object;
45: aload 0
aload 5
invokevirtual org.apache.lucene.util.fst.Util$TopNSearcher.acceptResult:(Lorg/apache/lucene/util/fst/Util$FSTPath;)Z
ifeq 48
46: aload 1
new org.apache.lucene.util.fst.Util$Result
dup
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.input:Lorg/apache/lucene/util/IntsRefBuilder;
invokevirtual org.apache.lucene.util.IntsRefBuilder.get:()Lorg/apache/lucene/util/IntsRef;
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.output:Ljava/lang/Object;
invokespecial org.apache.lucene.util.fst.Util$Result.<init>:(Lorg/apache/lucene/util/IntsRef;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
47: goto 53
48: StackMap locals:
StackMap stack:
iinc 4 1
49: goto 53
50: StackMap locals:
StackMap stack:
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.input:Lorg/apache/lucene/util/IntsRefBuilder;
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.label:()I
invokevirtual org.apache.lucene.util.IntsRefBuilder.append:(I)V
51: aload 5
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.fst:Lorg/apache/lucene/util/fst/FST;
getfield org.apache.lucene.util.fst.FST.outputs:Lorg/apache/lucene/util/fst/Outputs;
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.output:Ljava/lang/Object;
aload 5
getfield org.apache.lucene.util.fst.Util$FSTPath.arc:Lorg/apache/lucene/util/fst/FST$Arc;
invokevirtual org.apache.lucene.util.fst.FST$Arc.output:()Ljava/lang/Object;
invokevirtual org.apache.lucene.util.fst.Outputs.add:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
putfield org.apache.lucene.util.fst.Util$FSTPath.output:Ljava/lang/Object;
52: aload 0
aload 5
invokevirtual org.apache.lucene.util.fst.Util$TopNSearcher.acceptPartialPath:(Lorg/apache/lucene/util/fst/Util$FSTPath;)Z
ifne 18
end local 7 end local 6 end local 5 53: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.size:()I
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.topN:I
if_icmplt 5
54: StackMap locals:
StackMap stack:
new org.apache.lucene.util.fst.Util$TopResults
dup
iload 4
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.topN:I
iadd
aload 0
getfield org.apache.lucene.util.fst.Util$TopNSearcher.maxQueueDepth:I
if_icmpgt 55
iconst_1
goto 56
StackMap locals: org.apache.lucene.util.fst.Util$TopNSearcher java.util.List org.apache.lucene.util.fst.FST$BytesReader java.lang.Object int
StackMap stack: new 54 new 54
55: iconst_0
StackMap locals: org.apache.lucene.util.fst.Util$TopNSearcher java.util.List org.apache.lucene.util.fst.FST$BytesReader java.lang.Object int
StackMap stack: new 54 new 54 int
56: aload 1
invokespecial org.apache.lucene.util.fst.Util$TopResults.<init>:(ZLjava/util/List;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 57 0 this Lorg/apache/lucene/util/fst/Util$TopNSearcher<TT;>;
1 57 1 results Ljava/util/List<Lorg/apache/lucene/util/fst/Util$Result<TT;>;>;
2 57 2 fstReader Lorg/apache/lucene/util/fst/FST$BytesReader;
3 57 3 NO_OUTPUT TT;
4 57 4 rejectCount I
8 53 5 path Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;
20 53 6 foundZero Z
21 53 7 arcCopyIsPending Z
Exceptions:
throws java.io.IOException
Signature: ()Lorg/apache/lucene/util/fst/Util$TopResults<TT;>;
protected boolean acceptResult(org.apache.lucene.util.fst.Util$FSTPath<T>);
descriptor: (Lorg/apache/lucene/util/fst/Util$FSTPath;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield org.apache.lucene.util.fst.Util$FSTPath.input:Lorg/apache/lucene/util/IntsRefBuilder;
invokevirtual org.apache.lucene.util.IntsRefBuilder.get:()Lorg/apache/lucene/util/IntsRef;
aload 1
getfield org.apache.lucene.util.fst.Util$FSTPath.output:Ljava/lang/Object;
invokevirtual org.apache.lucene.util.fst.Util$TopNSearcher.acceptResult:(Lorg/apache/lucene/util/IntsRef;Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/fst/Util$TopNSearcher<TT;>;
0 1 1 path Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;
Signature: (Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;)Z
MethodParameters:
Name Flags
path
protected boolean acceptPartialPath(org.apache.lucene.util.fst.Util$FSTPath<T>);
descriptor: (Lorg/apache/lucene/util/fst/Util$FSTPath;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/fst/Util$TopNSearcher<TT;>;
0 1 1 path Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;
Signature: (Lorg/apache/lucene/util/fst/Util$FSTPath<TT;>;)Z
MethodParameters:
Name Flags
path
protected boolean acceptResult(org.apache.lucene.util.IntsRef, );
descriptor: (Lorg/apache/lucene/util/IntsRef;Ljava/lang/Object;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/fst/Util$TopNSearcher<TT;>;
0 1 1 input Lorg/apache/lucene/util/IntsRef;
0 1 2 output TT;
Signature: (Lorg/apache/lucene/util/IntsRef;TT;)Z
MethodParameters:
Name Flags
input
output
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Util.java"
NestHost: org.apache.lucene.util.fst.Util
InnerClasses:
public final Arc = org.apache.lucene.util.fst.FST$Arc of org.apache.lucene.util.fst.FST
public abstract BytesReader = org.apache.lucene.util.fst.FST$BytesReader of org.apache.lucene.util.fst.FST
public FSTPath = org.apache.lucene.util.fst.Util$FSTPath of org.apache.lucene.util.fst.Util
public final Result = org.apache.lucene.util.fst.Util$Result of org.apache.lucene.util.fst.Util
private TieBreakByInputComparator = org.apache.lucene.util.fst.Util$TieBreakByInputComparator of org.apache.lucene.util.fst.Util
public TopNSearcher = org.apache.lucene.util.fst.Util$TopNSearcher of org.apache.lucene.util.fst.Util
public final TopResults = org.apache.lucene.util.fst.Util$TopResults of org.apache.lucene.util.fst.Util