public class org.h2.util.Permutations<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.h2.util.Permutations
  super_class: java.lang.Object
{
  private final T[] in;
    descriptor: [Ljava/lang/Object;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: [TT;

  private final T[] out;
    descriptor: [Ljava/lang/Object;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: [TT;

  private final int n;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int m;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int[] index;
    descriptor: [I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private boolean hasNext;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private void <init>(T[], T[], );
    descriptor: ([Ljava/lang/Object;[Ljava/lang/Object;I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=5, args_size=4
        start local 0 // org.h2.util.Permutations this
        start local 1 // java.lang.Object[] in
        start local 2 // java.lang.Object[] out
        start local 3 // int m
         0: .line 40
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 38
            aload 0 /* this */
            iconst_1
            putfield org.h2.util.Permutations.hasNext:Z
         2: .line 41
            aload 0 /* this */
            aload 1 /* in */
            arraylength
            putfield org.h2.util.Permutations.n:I
         3: .line 42
            aload 0 /* this */
            iload 3 /* m */
            putfield org.h2.util.Permutations.m:I
         4: .line 43
            aload 0 /* this */
            getfield org.h2.util.Permutations.n:I
            iload 3 /* m */
            if_icmplt 5
            iload 3 /* m */
            ifge 6
         5: .line 44
      StackMap locals: org.h2.util.Permutations java.lang.Object[] java.lang.Object[] int
      StackMap stack:
            ldc "n < m or m < 0"
            invokestatic org.h2.message.DbException.throwInternalError:(Ljava/lang/String;)Ljava/lang/RuntimeException;
            pop
         6: .line 46
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* in */
            putfield org.h2.util.Permutations.in:[Ljava/lang/Object;
         7: .line 47
            aload 0 /* this */
            aload 2 /* out */
            putfield org.h2.util.Permutations.out:[Ljava/lang/Object;
         8: .line 48
            aload 0 /* this */
            aload 0 /* this */
            getfield org.h2.util.Permutations.n:I
            newarray 10
            putfield org.h2.util.Permutations.index:[I
         9: .line 49
            iconst_0
            istore 4 /* i */
        start local 4 // int i
        10: goto 13
        11: .line 50
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 4 /* i */
            iload 4 /* i */
            iastore
        12: .line 49
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        13: iload 4 /* i */
            aload 0 /* this */
            getfield org.h2.util.Permutations.n:I
            if_icmplt 11
        end local 4 // int i
        14: .line 55
            aload 0 /* this */
            iload 3 /* m */
            iconst_1
            isub
            invokevirtual org.h2.util.Permutations.reverseAfter:(I)V
        15: .line 56
            return
        end local 3 // int m
        end local 2 // java.lang.Object[] out
        end local 1 // java.lang.Object[] in
        end local 0 // org.h2.util.Permutations this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   16     0  this  Lorg/h2/util/Permutations<TT;>;
            0   16     1    in  [Ljava/lang/Object;
            0   16     2   out  [Ljava/lang/Object;
            0   16     3     m  I
           10   14     4     i  I
    Signature: ([TT;[TT;I)V
    MethodParameters:
      Name  Flags
      in    
      out   
      m     

  public static <T> org.h2.util.Permutations<T> create(T[], T[]);
    descriptor: ([Ljava/lang/Object;[Ljava/lang/Object;)Lorg/h2/util/Permutations;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // java.lang.Object[] in
        start local 1 // java.lang.Object[] out
         0: .line 67
            new org.h2.util.Permutations
            dup
            aload 0 /* in */
            aload 1 /* out */
            aload 0 /* in */
            arraylength
            invokespecial org.h2.util.Permutations.<init>:([Ljava/lang/Object;[Ljava/lang/Object;I)V
            areturn
        end local 1 // java.lang.Object[] out
        end local 0 // java.lang.Object[] in
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    in  [Ljava/lang/Object;
            0    1     1   out  [Ljava/lang/Object;
    Signature: <T:Ljava/lang/Object;>([TT;[TT;)Lorg/h2/util/Permutations<TT;>;
    MethodParameters:
      Name  Flags
      in    
      out   

  public static <T> org.h2.util.Permutations<T> create(T[], T[], int);
    descriptor: ([Ljava/lang/Object;[Ljava/lang/Object;I)Lorg/h2/util/Permutations;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // java.lang.Object[] in
        start local 1 // java.lang.Object[] out
        start local 2 // int m
         0: .line 80
            new org.h2.util.Permutations
            dup
            aload 0 /* in */
            aload 1 /* out */
            iload 2 /* m */
            invokespecial org.h2.util.Permutations.<init>:([Ljava/lang/Object;[Ljava/lang/Object;I)V
            areturn
        end local 2 // int m
        end local 1 // java.lang.Object[] out
        end local 0 // java.lang.Object[] in
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    in  [Ljava/lang/Object;
            0    1     1   out  [Ljava/lang/Object;
            0    1     2     m  I
    Signature: <T:Ljava/lang/Object;>([TT;[TT;I)Lorg/h2/util/Permutations<TT;>;
    MethodParameters:
      Name  Flags
      in    
      out   
      m     

  private void moveIndex();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // org.h2.util.Permutations this
         0: .line 97
            aload 0 /* this */
            invokevirtual org.h2.util.Permutations.rightmostDip:()I
            istore 1 /* i */
        start local 1 // int i
         1: .line 98
            iload 1 /* i */
            ifge 4
         2: .line 99
            aload 0 /* this */
            iconst_0
            putfield org.h2.util.Permutations.hasNext:Z
         3: .line 100
            return
         4: .line 104
      StackMap locals: int
      StackMap stack:
            iload 1 /* i */
            iconst_1
            iadd
            istore 2 /* leastToRightIndex */
        start local 2 // int leastToRightIndex
         5: .line 105
            iload 1 /* i */
            iconst_2
            iadd
            istore 3 /* j */
        start local 3 // int j
         6: goto 10
         7: .line 106
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 3 /* j */
            iaload
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 2 /* leastToRightIndex */
            iaload
            if_icmpge 9
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 3 /* j */
            iaload
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 1 /* i */
            iaload
            if_icmple 9
         8: .line 107
            iload 3 /* j */
            istore 2 /* leastToRightIndex */
         9: .line 105
      StackMap locals:
      StackMap stack:
            iinc 3 /* j */ 1
      StackMap locals:
      StackMap stack:
        10: iload 3 /* j */
            aload 0 /* this */
            getfield org.h2.util.Permutations.n:I
            if_icmplt 7
        end local 3 // int j
        11: .line 112
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 1 /* i */
            iaload
            istore 3 /* t */
        start local 3 // int t
        12: .line 113
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 1 /* i */
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 2 /* leastToRightIndex */
            iaload
            iastore
        13: .line 114
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 2 /* leastToRightIndex */
            iload 3 /* t */
            iastore
        14: .line 116
            aload 0 /* this */
            getfield org.h2.util.Permutations.m:I
            iconst_1
            isub
            iload 1 /* i */
            if_icmple 17
        15: .line 118
            aload 0 /* this */
            iload 1 /* i */
            invokevirtual org.h2.util.Permutations.reverseAfter:(I)V
        16: .line 121
            aload 0 /* this */
            aload 0 /* this */
            getfield org.h2.util.Permutations.m:I
            iconst_1
            isub
            invokevirtual org.h2.util.Permutations.reverseAfter:(I)V
        17: .line 123
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int t
        end local 2 // int leastToRightIndex
        end local 1 // int i
        end local 0 // org.h2.util.Permutations this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   18     0               this  Lorg/h2/util/Permutations<TT;>;
            1   18     1                  i  I
            5   18     2  leastToRightIndex  I
            6   11     3                  j  I
           12   18     3                  t  I

  private int rightmostDip();
    descriptor: ()I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // org.h2.util.Permutations this
         0: .line 132
            aload 0 /* this */
            getfield org.h2.util.Permutations.n:I
            iconst_2
            isub
            istore 1 /* i */
        start local 1 // int i
         1: goto 5
         2: .line 133
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 1 /* i */
            iaload
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 1 /* i */
            iconst_1
            iadd
            iaload
            if_icmpge 4
         3: .line 134
            iload 1 /* i */
            ireturn
         4: .line 132
      StackMap locals:
      StackMap stack:
            iinc 1 /* i */ -1
      StackMap locals:
      StackMap stack:
         5: iload 1 /* i */
            ifge 2
        end local 1 // int i
         6: .line 137
            iconst_m1
            ireturn
        end local 0 // org.h2.util.Permutations this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/h2/util/Permutations<TT;>;
            1    6     1     i  I

  private void reverseAfter(int);
    descriptor: (I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // org.h2.util.Permutations this
        start local 1 // int i
         0: .line 146
            iload 1 /* i */
            iconst_1
            iadd
            istore 2 /* start */
        start local 2 // int start
         1: .line 147
            aload 0 /* this */
            getfield org.h2.util.Permutations.n:I
            iconst_1
            isub
            istore 3 /* end */
        start local 3 // int end
         2: .line 148
            goto 8
         3: .line 149
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 2 /* start */
            iaload
            istore 4 /* t */
        start local 4 // int t
         4: .line 150
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 2 /* start */
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 3 /* end */
            iaload
            iastore
         5: .line 151
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 3 /* end */
            iload 4 /* t */
            iastore
         6: .line 152
            iinc 2 /* start */ 1
         7: .line 153
            iinc 3 /* end */ -1
        end local 4 // int t
         8: .line 148
      StackMap locals:
      StackMap stack:
            iload 2 /* start */
            iload 3 /* end */
            if_icmplt 3
         9: .line 155
            return
        end local 3 // int end
        end local 2 // int start
        end local 1 // int i
        end local 0 // org.h2.util.Permutations this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0   this  Lorg/h2/util/Permutations<TT;>;
            0   10     1      i  I
            1   10     2  start  I
            2   10     3    end  I
            4    8     4      t  I
    MethodParameters:
      Name  Flags
      i     

  public boolean next();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // org.h2.util.Permutations this
         0: .line 163
            aload 0 /* this */
            getfield org.h2.util.Permutations.hasNext:Z
            ifne 2
         1: .line 164
            iconst_0
            ireturn
         2: .line 166
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         3: goto 6
         4: .line 167
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.h2.util.Permutations.out:[Ljava/lang/Object;
            iload 1 /* i */
            aload 0 /* this */
            getfield org.h2.util.Permutations.in:[Ljava/lang/Object;
            aload 0 /* this */
            getfield org.h2.util.Permutations.index:[I
            iload 1 /* i */
            iaload
            aaload
            aastore
         5: .line 166
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         6: iload 1 /* i */
            aload 0 /* this */
            getfield org.h2.util.Permutations.m:I
            if_icmplt 4
        end local 1 // int i
         7: .line 169
            aload 0 /* this */
            invokevirtual org.h2.util.Permutations.moveIndex:()V
         8: .line 170
            iconst_1
            ireturn
        end local 0 // org.h2.util.Permutations this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lorg/h2/util/Permutations<TT;>;
            3    7     1     i  I
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Permutations.java"