public abstract class org.apache.lucene.search.TopDocsCollector<T extends org.apache.lucene.search.ScoreDoc> implements org.apache.lucene.search.Collector
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.apache.lucene.search.TopDocsCollector
  super_class: java.lang.Object
{
  protected static final org.apache.lucene.search.TopDocs EMPTY_TOPDOCS;
    descriptor: Lorg/apache/lucene/search/TopDocs;
    flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL

  protected final org.apache.lucene.util.PriorityQueue<T> pq;
    descriptor: Lorg/apache/lucene/util/PriorityQueue;
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Signature: Lorg/apache/lucene/util/PriorityQueue<TT;>;

  protected int totalHits;
    descriptor: I
    flags: (0x0004) ACC_PROTECTED

  protected org.apache.lucene.search.TotalHits$Relation totalHitsRelation;
    descriptor: Lorg/apache/lucene/search/TotalHits$Relation;
    flags: (0x0004) ACC_PROTECTED

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=7, locals=0, args_size=0
         0: .line 38
            new org.apache.lucene.search.TopDocs
            dup
            new org.apache.lucene.search.TotalHits
            dup
            lconst_0
            getstatic org.apache.lucene.search.TotalHits$Relation.EQUAL_TO:Lorg/apache/lucene/search/TotalHits$Relation;
            invokespecial org.apache.lucene.search.TotalHits.<init>:(JLorg/apache/lucene/search/TotalHits$Relation;)V
            iconst_0
            anewarray org.apache.lucene.search.ScoreDoc
            invokespecial org.apache.lucene.search.TopDocs.<init>:(Lorg/apache/lucene/search/TotalHits;[Lorg/apache/lucene/search/ScoreDoc;)V
            putstatic org.apache.lucene.search.TopDocsCollector.EMPTY_TOPDOCS:Lorg/apache/lucene/search/TopDocs;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  protected void <init>(org.apache.lucene.util.PriorityQueue<T>);
    descriptor: (Lorg/apache/lucene/util/PriorityQueue;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.lucene.search.TopDocsCollector this
        start local 1 // org.apache.lucene.util.PriorityQueue pq
         0: .line 54
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 52
            aload 0 /* this */
            getstatic org.apache.lucene.search.TotalHits$Relation.EQUAL_TO:Lorg/apache/lucene/search/TotalHits$Relation;
            putfield org.apache.lucene.search.TopDocsCollector.totalHitsRelation:Lorg/apache/lucene/search/TotalHits$Relation;
         2: .line 55
            aload 0 /* this */
            aload 1 /* pq */
            putfield org.apache.lucene.search.TopDocsCollector.pq:Lorg/apache/lucene/util/PriorityQueue;
         3: .line 56
            return
        end local 1 // org.apache.lucene.util.PriorityQueue pq
        end local 0 // org.apache.lucene.search.TopDocsCollector this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/lucene/search/TopDocsCollector<TT;>;
            0    4     1    pq  Lorg/apache/lucene/util/PriorityQueue<TT;>;
    Signature: (Lorg/apache/lucene/util/PriorityQueue<TT;>;)V
    MethodParameters:
      Name  Flags
      pq    

  protected void populateResults(org.apache.lucene.search.ScoreDoc[], int);
    descriptor: ([Lorg/apache/lucene/search/ScoreDoc;I)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // org.apache.lucene.search.TopDocsCollector this
        start local 1 // org.apache.lucene.search.ScoreDoc[] results
        start local 2 // int howMany
         0: .line 63
            iload 2 /* howMany */
            iconst_1
            isub
            istore 3 /* i */
        start local 3 // int i
         1: goto 4
         2: .line 64
      StackMap locals: int
      StackMap stack:
            aload 1 /* results */
            iload 3 /* i */
            aload 0 /* this */
            getfield org.apache.lucene.search.TopDocsCollector.pq:Lorg/apache/lucene/util/PriorityQueue;
            invokevirtual org.apache.lucene.util.PriorityQueue.pop:()Ljava/lang/Object;
            checkcast org.apache.lucene.search.ScoreDoc
            aastore
         3: .line 63
            iinc 3 /* i */ -1
      StackMap locals:
      StackMap stack:
         4: iload 3 /* i */
            ifge 2
        end local 3 // int i
         5: .line 66
            return
        end local 2 // int howMany
        end local 1 // org.apache.lucene.search.ScoreDoc[] results
        end local 0 // org.apache.lucene.search.TopDocsCollector this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lorg/apache/lucene/search/TopDocsCollector<TT;>;
            0    6     1  results  [Lorg/apache/lucene/search/ScoreDoc;
            0    6     2  howMany  I
            1    5     3        i  I
    MethodParameters:
         Name  Flags
      results  
      howMany  

  protected org.apache.lucene.search.TopDocs newTopDocs(org.apache.lucene.search.ScoreDoc[], int);
    descriptor: ([Lorg/apache/lucene/search/ScoreDoc;I)Lorg/apache/lucene/search/TopDocs;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=7, locals=3, args_size=3
        start local 0 // org.apache.lucene.search.TopDocsCollector this
        start local 1 // org.apache.lucene.search.ScoreDoc[] results
        start local 2 // int start
         0: .line 75
            aload 1 /* results */
            ifnonnull 1
            getstatic org.apache.lucene.search.TopDocsCollector.EMPTY_TOPDOCS:Lorg/apache/lucene/search/TopDocs;
            goto 2
      StackMap locals:
      StackMap stack:
         1: new org.apache.lucene.search.TopDocs
            dup
            new org.apache.lucene.search.TotalHits
            dup
            aload 0 /* this */
            getfield org.apache.lucene.search.TopDocsCollector.totalHits:I
            i2l
            aload 0 /* this */
            getfield org.apache.lucene.search.TopDocsCollector.totalHitsRelation:Lorg/apache/lucene/search/TotalHits$Relation;
            invokespecial org.apache.lucene.search.TotalHits.<init>:(JLorg/apache/lucene/search/TotalHits$Relation;)V
            aload 1 /* results */
            invokespecial org.apache.lucene.search.TopDocs.<init>:(Lorg/apache/lucene/search/TotalHits;[Lorg/apache/lucene/search/ScoreDoc;)V
      StackMap locals:
      StackMap stack: org.apache.lucene.search.TopDocs
         2: areturn
        end local 2 // int start
        end local 1 // org.apache.lucene.search.ScoreDoc[] results
        end local 0 // org.apache.lucene.search.TopDocsCollector this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lorg/apache/lucene/search/TopDocsCollector<TT;>;
            0    3     1  results  [Lorg/apache/lucene/search/ScoreDoc;
            0    3     2    start  I
    MethodParameters:
         Name  Flags
      results  
      start    

  public int getTotalHits();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.search.TopDocsCollector this
         0: .line 80
            aload 0 /* this */
            getfield org.apache.lucene.search.TopDocsCollector.totalHits:I
            ireturn
        end local 0 // org.apache.lucene.search.TopDocsCollector this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/search/TopDocsCollector<TT;>;

  protected int topDocsSize();
    descriptor: ()I
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.lucene.search.TopDocsCollector this
         0: .line 88
            aload 0 /* this */
            getfield org.apache.lucene.search.TopDocsCollector.totalHits:I
            aload 0 /* this */
            getfield org.apache.lucene.search.TopDocsCollector.pq:Lorg/apache/lucene/util/PriorityQueue;
            invokevirtual org.apache.lucene.util.PriorityQueue.size:()I
            if_icmpge 1
            aload 0 /* this */
            getfield org.apache.lucene.search.TopDocsCollector.totalHits:I
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield org.apache.lucene.search.TopDocsCollector.pq:Lorg/apache/lucene/util/PriorityQueue;
            invokevirtual org.apache.lucene.util.PriorityQueue.size:()I
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // org.apache.lucene.search.TopDocsCollector this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/lucene/search/TopDocsCollector<TT;>;

  public org.apache.lucene.search.TopDocs topDocs();
    descriptor: ()Lorg/apache/lucene/search/TopDocs;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.lucene.search.TopDocsCollector this
         0: .line 96
            aload 0 /* this */
            iconst_0
            aload 0 /* this */
            invokevirtual org.apache.lucene.search.TopDocsCollector.topDocsSize:()I
            invokevirtual org.apache.lucene.search.TopDocsCollector.topDocs:(II)Lorg/apache/lucene/search/TopDocs;
            areturn
        end local 0 // org.apache.lucene.search.TopDocsCollector this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/search/TopDocsCollector<TT;>;

  public org.apache.lucene.search.TopDocs topDocs(int);
    descriptor: (I)Lorg/apache/lucene/search/TopDocs;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.lucene.search.TopDocsCollector this
        start local 1 // int start
         0: .line 115
            aload 0 /* this */
            iload 1 /* start */
            aload 0 /* this */
            invokevirtual org.apache.lucene.search.TopDocsCollector.topDocsSize:()I
            invokevirtual org.apache.lucene.search.TopDocsCollector.topDocs:(II)Lorg/apache/lucene/search/TopDocs;
            areturn
        end local 1 // int start
        end local 0 // org.apache.lucene.search.TopDocsCollector this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   this  Lorg/apache/lucene/search/TopDocsCollector<TT;>;
            0    1     1  start  I
    MethodParameters:
       Name  Flags
      start  

  public org.apache.lucene.search.TopDocs topDocs(int, int);
    descriptor: (II)Lorg/apache/lucene/search/TopDocs;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=3
        start local 0 // org.apache.lucene.search.TopDocsCollector this
        start local 1 // int start
        start local 2 // int howMany
         0: .line 137
            aload 0 /* this */
            invokevirtual org.apache.lucene.search.TopDocsCollector.topDocsSize:()I
            istore 3 /* size */
        start local 3 // int size
         1: .line 143
            iload 1 /* start */
            iflt 2
            iload 1 /* start */
            iload 3 /* size */
            if_icmpge 2
            iload 2 /* howMany */
            ifgt 3
         2: .line 144
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aconst_null
            iload 1 /* start */
            invokevirtual org.apache.lucene.search.TopDocsCollector.newTopDocs:([Lorg/apache/lucene/search/ScoreDoc;I)Lorg/apache/lucene/search/TopDocs;
            areturn
         3: .line 148
      StackMap locals:
      StackMap stack:
            iload 3 /* size */
            iload 1 /* start */
            isub
            iload 2 /* howMany */
            invokestatic java.lang.Math.min:(II)I
            istore 2 /* howMany */
         4: .line 149
            iload 2 /* howMany */
            anewarray org.apache.lucene.search.ScoreDoc
            astore 4 /* results */
        start local 4 // org.apache.lucene.search.ScoreDoc[] results
         5: .line 156
            aload 0 /* this */
            getfield org.apache.lucene.search.TopDocsCollector.pq:Lorg/apache/lucene/util/PriorityQueue;
            invokevirtual org.apache.lucene.util.PriorityQueue.size:()I
            iload 1 /* start */
            isub
            iload 2 /* howMany */
            isub
            istore 5 /* i */
        start local 5 // int i
         6: goto 8
      StackMap locals: org.apache.lucene.search.ScoreDoc[] int
      StackMap stack:
         7: aload 0 /* this */
            getfield org.apache.lucene.search.TopDocsCollector.pq:Lorg/apache/lucene/util/PriorityQueue;
            invokevirtual org.apache.lucene.util.PriorityQueue.pop:()Ljava/lang/Object;
            pop
            iinc 5 /* i */ -1
      StackMap locals:
      StackMap stack:
         8: iload 5 /* i */
            ifgt 7
        end local 5 // int i
         9: .line 159
            aload 0 /* this */
            aload 4 /* results */
            iload 2 /* howMany */
            invokevirtual org.apache.lucene.search.TopDocsCollector.populateResults:([Lorg/apache/lucene/search/ScoreDoc;I)V
        10: .line 161
            aload 0 /* this */
            aload 4 /* results */
            iload 1 /* start */
            invokevirtual org.apache.lucene.search.TopDocsCollector.newTopDocs:([Lorg/apache/lucene/search/ScoreDoc;I)Lorg/apache/lucene/search/TopDocs;
            areturn
        end local 4 // org.apache.lucene.search.ScoreDoc[] results
        end local 3 // int size
        end local 2 // int howMany
        end local 1 // int start
        end local 0 // org.apache.lucene.search.TopDocsCollector this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   11     0     this  Lorg/apache/lucene/search/TopDocsCollector<TT;>;
            0   11     1    start  I
            0   11     2  howMany  I
            1   11     3     size  I
            5   11     4  results  [Lorg/apache/lucene/search/ScoreDoc;
            6    9     5        i  I
    MethodParameters:
         Name  Flags
      start    
      howMany  
}
Signature: <T:Lorg/apache/lucene/search/ScoreDoc;>Ljava/lang/Object;Lorg/apache/lucene/search/Collector;
SourceFile: "TopDocsCollector.java"
InnerClasses:
  public final Relation = org.apache.lucene.search.TotalHits$Relation of org.apache.lucene.search.TotalHits