class org.apache.commons.math3.util.Combinations$LexicographicIterator implements java.util.Iterator<int[]>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.math3.util.Combinations$LexicographicIterator
super_class: java.lang.Object
{
private final int k;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int[] c;
descriptor: [I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean more;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int j;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.apache.commons.math3.util.Combinations$LexicographicIterator.more:Z
2: aload 0
iload 2
putfield org.apache.commons.math3.util.Combinations$LexicographicIterator.k:I
3: aload 0
iload 2
iconst_3
iadd
newarray 10
putfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
4: iload 2
ifeq 5
iload 2
iload 1
if_icmplt 7
5: StackMap locals: org.apache.commons.math3.util.Combinations$LexicographicIterator int int
StackMap stack:
aload 0
iconst_0
putfield org.apache.commons.math3.util.Combinations$LexicographicIterator.more:Z
6: return
7: StackMap locals:
StackMap stack:
iconst_1
istore 3
start local 3 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
iload 3
iload 3
iconst_1
isub
iastore
10: iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
iload 2
if_icmple 9
end local 3 12: aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
iload 2
iconst_1
iadd
iload 1
iastore
13: aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
iload 2
iconst_2
iadd
iconst_0
iastore
14: aload 0
iload 2
putfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/math3/util/Combinations$LexicographicIterator;
0 16 1 n I
0 16 2 k I
8 12 3 i I
MethodParameters:
Name Flags
n
k
public boolean hasNext();
descriptor: ()Z
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$LexicographicIterator.more:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/util/Combinations$LexicographicIterator;
public int[] next();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.more:Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.k:I
newarray 10
astore 1
start local 1 3: aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
iconst_1
aload 1
iconst_0
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.k:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: iconst_0
istore 2
start local 2 5: aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
ifle 10
6: aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
istore 2
7: aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
iload 2
iastore
8: aload 0
dup
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
iconst_1
isub
putfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
9: aload 1
areturn
10: StackMap locals: int[] int
StackMap stack:
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
iconst_1
iaload
iconst_1
iadd
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
iconst_2
iaload
if_icmpge 13
11: aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
iconst_1
dup2
iaload
iconst_1
iadd
iastore
12: aload 1
areturn
13: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
14: iconst_0
istore 3
start local 3 15: goto 22
16: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
iconst_1
isub
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
iconst_2
isub
iastore
17: aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
iaload
iconst_1
iadd
istore 2
18: iload 2
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
iconst_1
iadd
iaload
if_icmpne 21
19: aload 0
dup
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
iconst_1
iadd
putfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
20: goto 22
21: StackMap locals:
StackMap stack:
iconst_1
istore 3
22: StackMap locals:
StackMap stack:
iload 3
ifeq 16
23: aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.k:I
if_icmple 26
24: aload 0
iconst_0
putfield org.apache.commons.math3.util.Combinations$LexicographicIterator.more:Z
25: aload 1
areturn
26: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.c:[I
aload 0
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
iload 2
iastore
27: aload 0
dup
getfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
iconst_1
isub
putfield org.apache.commons.math3.util.Combinations$LexicographicIterator.j:I
28: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/apache/commons/math3/util/Combinations$LexicographicIterator;
3 29 1 ret [I
5 29 2 x I
15 29 3 stepDone Z
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/util/Combinations$LexicographicIterator;
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: aload 0
invokevirtual org.apache.commons.math3.util.Combinations$LexicographicIterator.next:()[I
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<[I>;
SourceFile: "Combinations.java"
NestHost: org.apache.commons.math3.util.Combinations
InnerClasses:
private LexicographicIterator = org.apache.commons.math3.util.Combinations$LexicographicIterator of org.apache.commons.math3.util.Combinations