public final class org.apache.lucene.util.MergedIterator<T extends java.lang.Comparable<T>> implements java.util.Iterator<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.apache.lucene.util.MergedIterator
  super_class: java.lang.Object
{
  private T current;
    descriptor: Ljava/lang/Comparable;
    flags: (0x0002) ACC_PRIVATE
    Signature: TT;

  private final org.apache.lucene.util.MergedIterator$TermMergeQueue<T> queue;
    descriptor: Lorg/apache/lucene/util/MergedIterator$TermMergeQueue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lorg/apache/lucene/util/MergedIterator$TermMergeQueue<TT;>;

  private final org.apache.lucene.util.MergedIterator$SubIterator<T>[] top;
    descriptor: [Lorg/apache/lucene/util/MergedIterator$SubIterator;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: [Lorg/apache/lucene/util/MergedIterator$SubIterator<TT;>;

  private final boolean removeDuplicates;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int numTop;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  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: .line 45
            ldc Lorg/apache/lucene/util/MergedIterator;
            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.MergedIterator.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.util.Iterator<T>[]);
    descriptor: ([Ljava/util/Iterator;)V
    flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.apache.lucene.util.MergedIterator this
        start local 1 // java.util.Iterator[] iterators
         0: .line 54
            aload 0 /* this */
            iconst_1
            aload 1 /* iterators */
            invokespecial org.apache.lucene.util.MergedIterator.<init>:(Z[Ljava/util/Iterator;)V
         1: .line 55
            return
        end local 1 // java.util.Iterator[] iterators
        end local 0 // org.apache.lucene.util.MergedIterator this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/apache/lucene/util/MergedIterator<TT;>;
            0    2     1  iterators  [Ljava/util/Iterator;
    Signature: ([Ljava/util/Iterator<TT;>;)V
    MethodParameters:
           Name  Flags
      iterators  

  public void <init>(boolean, java.util.Iterator<T>[]);
    descriptor: (Z[Ljava/util/Iterator;)V
    flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=4, locals=9, args_size=3
        start local 0 // org.apache.lucene.util.MergedIterator this
        start local 1 // boolean removeDuplicates
        start local 2 // java.util.Iterator[] iterators
         0: .line 58
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 59
            aload 0 /* this */
            iload 1 /* removeDuplicates */
            putfield org.apache.lucene.util.MergedIterator.removeDuplicates:Z
         2: .line 60
            aload 0 /* this */
            new org.apache.lucene.util.MergedIterator$TermMergeQueue
            dup
            aload 2 /* iterators */
            arraylength
            invokespecial org.apache.lucene.util.MergedIterator$TermMergeQueue.<init>:(I)V
            putfield org.apache.lucene.util.MergedIterator.queue:Lorg/apache/lucene/util/MergedIterator$TermMergeQueue;
         3: .line 61
            aload 0 /* this */
            aload 2 /* iterators */
            arraylength
            anewarray org.apache.lucene.util.MergedIterator$SubIterator
            putfield org.apache.lucene.util.MergedIterator.top:[Lorg/apache/lucene/util/MergedIterator$SubIterator;
         4: .line 62
            iconst_0
            istore 3 /* index */
        start local 3 // int index
         5: .line 63
            aload 2 /* iterators */
            dup
            astore 7
            arraylength
            istore 6
            iconst_0
            istore 5
            goto 14
      StackMap locals: org.apache.lucene.util.MergedIterator int java.util.Iterator[] int top int int java.util.Iterator[]
      StackMap stack:
         6: aload 7
            iload 5
            aaload
            astore 4 /* iterator */
        start local 4 // java.util.Iterator iterator
         7: .line 64
            aload 4 /* iterator */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 13
         8: .line 65
            new org.apache.lucene.util.MergedIterator$SubIterator
            dup
            invokespecial org.apache.lucene.util.MergedIterator$SubIterator.<init>:()V
            astore 8 /* sub */
        start local 8 // org.apache.lucene.util.MergedIterator$SubIterator sub
         9: .line 66
            aload 8 /* sub */
            aload 4 /* iterator */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.Comparable
            putfield org.apache.lucene.util.MergedIterator$SubIterator.current:Ljava/lang/Comparable;
        10: .line 67
            aload 8 /* sub */
            aload 4 /* iterator */
            putfield org.apache.lucene.util.MergedIterator$SubIterator.iterator:Ljava/util/Iterator;
        11: .line 68
            aload 8 /* sub */
            iload 3 /* index */
            iinc 3 /* index */ 1
            putfield org.apache.lucene.util.MergedIterator$SubIterator.index:I
        12: .line 69
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.queue:Lorg/apache/lucene/util/MergedIterator$TermMergeQueue;
            aload 8 /* sub */
            invokevirtual org.apache.lucene.util.MergedIterator$TermMergeQueue.add:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 8 // org.apache.lucene.util.MergedIterator$SubIterator sub
        end local 4 // java.util.Iterator iterator
        13: .line 63
      StackMap locals:
      StackMap stack:
            iinc 5 1
      StackMap locals:
      StackMap stack:
        14: iload 5
            iload 6
            if_icmplt 6
        15: .line 72
            return
        end local 3 // int index
        end local 2 // java.util.Iterator[] iterators
        end local 1 // boolean removeDuplicates
        end local 0 // org.apache.lucene.util.MergedIterator this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   16     0              this  Lorg/apache/lucene/util/MergedIterator<TT;>;
            0   16     1  removeDuplicates  Z
            0   16     2         iterators  [Ljava/util/Iterator;
            5   16     3             index  I
            7   13     4          iterator  Ljava/util/Iterator<TT;>;
            9   13     8               sub  Lorg/apache/lucene/util/MergedIterator$SubIterator<TT;>;
    Signature: (Z[Ljava/util/Iterator<TT;>;)V
    MethodParameters:
                  Name  Flags
      removeDuplicates  
      iterators         

  public boolean hasNext();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.apache.lucene.util.MergedIterator this
         0: .line 76
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.queue:Lorg/apache/lucene/util/MergedIterator$TermMergeQueue;
            invokevirtual org.apache.lucene.util.MergedIterator$TermMergeQueue.size:()I
            ifle 2
         1: .line 77
            iconst_1
            ireturn
         2: .line 80
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         3: goto 7
         4: .line 81
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.top:[Lorg/apache/lucene/util/MergedIterator$SubIterator;
            iload 1 /* i */
            aaload
            getfield org.apache.lucene.util.MergedIterator$SubIterator.iterator:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 6
         5: .line 82
            iconst_1
            ireturn
         6: .line 80
      StackMap locals:
      StackMap stack:
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         7: iload 1 /* i */
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.numTop:I
            if_icmplt 4
        end local 1 // int i
         8: .line 85
            iconst_0
            ireturn
        end local 0 // org.apache.lucene.util.MergedIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lorg/apache/lucene/util/MergedIterator<TT;>;
            3    8     1     i  I

  public T next();
    descriptor: ()Ljava/lang/Comparable;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.lucene.util.MergedIterator this
         0: .line 91
            aload 0 /* this */
            invokevirtual org.apache.lucene.util.MergedIterator.pushTop:()V
         1: .line 94
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.queue:Lorg/apache/lucene/util/MergedIterator$TermMergeQueue;
            invokevirtual org.apache.lucene.util.MergedIterator$TermMergeQueue.size:()I
            ifle 4
         2: .line 95
            aload 0 /* this */
            invokevirtual org.apache.lucene.util.MergedIterator.pullTop:()V
         3: .line 96
            goto 5
         4: .line 97
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.apache.lucene.util.MergedIterator.current:Ljava/lang/Comparable;
         5: .line 99
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.current:Ljava/lang/Comparable;
            ifnonnull 7
         6: .line 100
            new java.util.NoSuchElementException
            dup
            invokespecial java.util.NoSuchElementException.<init>:()V
            athrow
         7: .line 102
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.current:Ljava/lang/Comparable;
            areturn
        end local 0 // org.apache.lucene.util.MergedIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/apache/lucene/util/MergedIterator<TT;>;
    Signature: ()TT;

  public void remove();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.lucene.util.MergedIterator this
         0: .line 107
            new java.lang.UnsupportedOperationException
            dup
            invokespecial java.lang.UnsupportedOperationException.<init>:()V
            athrow
        end local 0 // org.apache.lucene.util.MergedIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/util/MergedIterator<TT;>;

  private void pullTop();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.apache.lucene.util.MergedIterator this
         0: .line 111
            getstatic org.apache.lucene.util.MergedIterator.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.numTop:I
            ifeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 112
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.top:[Lorg/apache/lucene/util/MergedIterator$SubIterator;
            aload 0 /* this */
            dup
            getfield org.apache.lucene.util.MergedIterator.numTop:I
            dup_x1
            iconst_1
            iadd
            putfield org.apache.lucene.util.MergedIterator.numTop:I
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.queue:Lorg/apache/lucene/util/MergedIterator$TermMergeQueue;
            invokevirtual org.apache.lucene.util.MergedIterator$TermMergeQueue.pop:()Ljava/lang/Object;
            checkcast org.apache.lucene.util.MergedIterator$SubIterator
            aastore
         2: .line 113
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.removeDuplicates:Z
            ifeq 7
         3: .line 115
            goto 5
         4: .line 117
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.top:[Lorg/apache/lucene/util/MergedIterator$SubIterator;
            aload 0 /* this */
            dup
            getfield org.apache.lucene.util.MergedIterator.numTop:I
            dup_x1
            iconst_1
            iadd
            putfield org.apache.lucene.util.MergedIterator.numTop:I
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.queue:Lorg/apache/lucene/util/MergedIterator$TermMergeQueue;
            invokevirtual org.apache.lucene.util.MergedIterator$TermMergeQueue.pop:()Ljava/lang/Object;
            checkcast org.apache.lucene.util.MergedIterator$SubIterator
            aastore
         5: .line 115
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.queue:Lorg/apache/lucene/util/MergedIterator$TermMergeQueue;
            invokevirtual org.apache.lucene.util.MergedIterator$TermMergeQueue.size:()I
            ifeq 7
         6: .line 116
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.queue:Lorg/apache/lucene/util/MergedIterator$TermMergeQueue;
            invokevirtual org.apache.lucene.util.MergedIterator$TermMergeQueue.top:()Ljava/lang/Object;
            checkcast org.apache.lucene.util.MergedIterator$SubIterator
            getfield org.apache.lucene.util.MergedIterator$SubIterator.current:Ljava/lang/Comparable;
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.top:[Lorg/apache/lucene/util/MergedIterator$SubIterator;
            iconst_0
            aaload
            getfield org.apache.lucene.util.MergedIterator$SubIterator.current:Ljava/lang/Comparable;
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifne 4
         7: .line 120
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.top:[Lorg/apache/lucene/util/MergedIterator$SubIterator;
            iconst_0
            aaload
            getfield org.apache.lucene.util.MergedIterator$SubIterator.current:Ljava/lang/Comparable;
            putfield org.apache.lucene.util.MergedIterator.current:Ljava/lang/Comparable;
         8: .line 121
            return
        end local 0 // org.apache.lucene.util.MergedIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lorg/apache/lucene/util/MergedIterator<TT;>;

  private void pushTop();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.apache.lucene.util.MergedIterator this
         0: .line 125
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         1: goto 8
         2: .line 126
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.top:[Lorg/apache/lucene/util/MergedIterator$SubIterator;
            iload 1 /* i */
            aaload
            getfield org.apache.lucene.util.MergedIterator$SubIterator.iterator:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 6
         3: .line 127
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.top:[Lorg/apache/lucene/util/MergedIterator$SubIterator;
            iload 1 /* i */
            aaload
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.top:[Lorg/apache/lucene/util/MergedIterator$SubIterator;
            iload 1 /* i */
            aaload
            getfield org.apache.lucene.util.MergedIterator$SubIterator.iterator:Ljava/util/Iterator;
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.Comparable
            putfield org.apache.lucene.util.MergedIterator$SubIterator.current:Ljava/lang/Comparable;
         4: .line 128
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.queue:Lorg/apache/lucene/util/MergedIterator$TermMergeQueue;
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.top:[Lorg/apache/lucene/util/MergedIterator$SubIterator;
            iload 1 /* i */
            aaload
            invokevirtual org.apache.lucene.util.MergedIterator$TermMergeQueue.add:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         5: .line 129
            goto 7
         6: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.top:[Lorg/apache/lucene/util/MergedIterator$SubIterator;
            iload 1 /* i */
            aaload
            aconst_null
            putfield org.apache.lucene.util.MergedIterator$SubIterator.current:Ljava/lang/Comparable;
         7: .line 125
      StackMap locals:
      StackMap stack:
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 1 /* i */
            aload 0 /* this */
            getfield org.apache.lucene.util.MergedIterator.numTop:I
            if_icmplt 2
        end local 1 // int i
         9: .line 134
            aload 0 /* this */
            iconst_0
            putfield org.apache.lucene.util.MergedIterator.numTop:I
        10: .line 135
            return
        end local 0 // org.apache.lucene.util.MergedIterator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lorg/apache/lucene/util/MergedIterator<TT;>;
            1    9     1     i  I

  public java.lang.Object next();
    descriptor: ()Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual org.apache.lucene.util.MergedIterator.next:()Ljava/lang/Comparable;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: <T::Ljava/lang/Comparable<TT;>;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "MergedIterator.java"
NestMembers:
  org.apache.lucene.util.MergedIterator$SubIterator  org.apache.lucene.util.MergedIterator$TermMergeQueue
InnerClasses:
  private SubIterator = org.apache.lucene.util.MergedIterator$SubIterator of org.apache.lucene.util.MergedIterator
  private TermMergeQueue = org.apache.lucene.util.MergedIterator$TermMergeQueue of org.apache.lucene.util.MergedIterator