public class org.apache.commons.math3.genetics.FixedGenerationCount implements org.apache.commons.math3.genetics.StoppingCondition
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.genetics.FixedGenerationCount
super_class: java.lang.Object
{
private int numGenerations;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final int maxGenerations;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.commons.math3.genetics.FixedGenerationCount.numGenerations:I
2: iload 1
ifgt 4
3: new org.apache.commons.math3.exception.NumberIsTooSmallException
dup
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
invokespecial org.apache.commons.math3.exception.NumberIsTooSmallException.<init>:(Ljava/lang/Number;Ljava/lang/Number;Z)V
athrow
4: StackMap locals: org.apache.commons.math3.genetics.FixedGenerationCount int
StackMap stack:
aload 0
iload 1
putfield org.apache.commons.math3.genetics.FixedGenerationCount.maxGenerations:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/math3/genetics/FixedGenerationCount;
0 6 1 maxGenerations I
Exceptions:
throws org.apache.commons.math3.exception.NumberIsTooSmallException
MethodParameters:
Name Flags
maxGenerations final
public boolean isSatisfied(org.apache.commons.math3.genetics.Population);
descriptor: (Lorg/apache/commons/math3/genetics/Population;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.genetics.FixedGenerationCount.numGenerations:I
aload 0
getfield org.apache.commons.math3.genetics.FixedGenerationCount.maxGenerations:I
if_icmpge 3
1: aload 0
dup
getfield org.apache.commons.math3.genetics.FixedGenerationCount.numGenerations:I
iconst_1
iadd
putfield org.apache.commons.math3.genetics.FixedGenerationCount.numGenerations:I
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/math3/genetics/FixedGenerationCount;
0 4 1 population Lorg/apache/commons/math3/genetics/Population;
MethodParameters:
Name Flags
population final
public int getNumGenerations();
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.genetics.FixedGenerationCount.numGenerations:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/genetics/FixedGenerationCount;
}
SourceFile: "FixedGenerationCount.java"