public class org.apache.commons.math3.util.Combinations implements java.lang.Iterable<int[]>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.util.Combinations
super_class: java.lang.Object
{
private final int n;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int k;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.commons.math3.util.Combinations$IterationOrder iterationOrder;
descriptor: Lorg/apache/commons/math3/util/Combinations$IterationOrder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$apache$commons$math3$util$Combinations$IterationOrder;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
getstatic org.apache.commons.math3.util.Combinations$IterationOrder.LEXICOGRAPHIC:Lorg/apache/commons/math3/util/Combinations$IterationOrder;
invokespecial org.apache.commons.math3.util.Combinations.<init>:(IILorg/apache/commons/math3/util/Combinations$IterationOrder;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/util/Combinations;
0 2 1 n I
0 2 2 k I
MethodParameters:
Name Flags
n
k
private void <init>(int, int, org.apache.commons.math3.util.Combinations$IterationOrder);
descriptor: (IILorg/apache/commons/math3/util/Combinations$IterationOrder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
iload 2
invokestatic org.apache.commons.math3.util.CombinatoricsUtils.checkBinomial:(II)V
2: aload 0
iload 1
putfield org.apache.commons.math3.util.Combinations.n:I
3: aload 0
iload 2
putfield org.apache.commons.math3.util.Combinations.k:I
4: aload 0
aload 3
putfield org.apache.commons.math3.util.Combinations.iterationOrder:Lorg/apache/commons/math3/util/Combinations$IterationOrder;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/math3/util/Combinations;
0 6 1 n I
0 6 2 k I
0 6 3 iterationOrder Lorg/apache/commons/math3/util/Combinations$IterationOrder;
MethodParameters:
Name Flags
n
k
iterationOrder
public int getN();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.util.Combinations.n:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/util/Combinations;
public int getK();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.util.Combinations.k:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/util/Combinations;
public java.util.Iterator<int[]> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.util.Combinations.k:I
ifeq 2
1: aload 0
getfield org.apache.commons.math3.util.Combinations.k:I
aload 0
getfield org.apache.commons.math3.util.Combinations.n:I
if_icmpne 3
2: StackMap locals:
StackMap stack:
new org.apache.commons.math3.util.Combinations$SingletonIterator
dup
aload 0
getfield org.apache.commons.math3.util.Combinations.k:I
invokestatic org.apache.commons.math3.util.MathArrays.natural:(I)[I
invokespecial org.apache.commons.math3.util.Combinations$SingletonIterator.<init>:([I)V
areturn
3: StackMap locals:
StackMap stack:
invokestatic org.apache.commons.math3.util.Combinations.$SWITCH_TABLE$org$apache$commons$math3$util$Combinations$IterationOrder:()[I
aload 0
getfield org.apache.commons.math3.util.Combinations.iterationOrder:Lorg/apache/commons/math3/util/Combinations$IterationOrder;
invokevirtual org.apache.commons.math3.util.Combinations$IterationOrder.ordinal:()I
iaload
tableswitch { // 1 - 1
1: 4
default: 5
}
4: StackMap locals:
StackMap stack:
new org.apache.commons.math3.util.Combinations$LexicographicIterator
dup
aload 0
getfield org.apache.commons.math3.util.Combinations.n:I
aload 0
getfield org.apache.commons.math3.util.Combinations.k:I
invokespecial org.apache.commons.math3.util.Combinations$LexicographicIterator.<init>:(II)V
areturn
5: StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.MathInternalError
dup
invokespecial org.apache.commons.math3.exception.MathInternalError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/math3/util/Combinations;
Signature: ()Ljava/util/Iterator<[I>;
public java.util.Comparator<int[]> comparator();
descriptor: ()Ljava/util/Comparator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.apache.commons.math3.util.Combinations$LexicographicComparator
dup
aload 0
getfield org.apache.commons.math3.util.Combinations.n:I
aload 0
getfield org.apache.commons.math3.util.Combinations.k:I
invokespecial org.apache.commons.math3.util.Combinations$LexicographicComparator.<init>:(II)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/util/Combinations;
Signature: ()Ljava/util/Comparator<[I>;
static int[] $SWITCH_TABLE$org$apache$commons$math3$util$Combinations$IterationOrder();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.commons.math3.util.Combinations.$SWITCH_TABLE$org$apache$commons$math3$util$Combinations$IterationOrder:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.commons.math3.util.Combinations$IterationOrder.values:()[Lorg/apache/commons/math3/util/Combinations$IterationOrder;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.commons.math3.util.Combinations$IterationOrder.LEXICOGRAPHIC:Lorg/apache/commons/math3/util/Combinations$IterationOrder;
invokevirtual org.apache.commons.math3.util.Combinations$IterationOrder.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
dup
putstatic org.apache.commons.math3.util.Combinations.$SWITCH_TABLE$org$apache$commons$math3$util$Combinations$IterationOrder:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
}
Signature: Ljava/lang/Object;Ljava/lang/Iterable<[I>;
SourceFile: "Combinations.java"
NestMembers:
org.apache.commons.math3.util.Combinations$IterationOrder org.apache.commons.math3.util.Combinations$LexicographicComparator org.apache.commons.math3.util.Combinations$LexicographicIterator org.apache.commons.math3.util.Combinations$SingletonIterator
InnerClasses:
private final IterationOrder = org.apache.commons.math3.util.Combinations$IterationOrder of org.apache.commons.math3.util.Combinations
private LexicographicComparator = org.apache.commons.math3.util.Combinations$LexicographicComparator of org.apache.commons.math3.util.Combinations
private LexicographicIterator = org.apache.commons.math3.util.Combinations$LexicographicIterator of org.apache.commons.math3.util.Combinations
private SingletonIterator = org.apache.commons.math3.util.Combinations$SingletonIterator of org.apache.commons.math3.util.Combinations