public abstract class org.apache.commons.math3.genetics.AbstractListChromosome<T> extends org.apache.commons.math3.genetics.Chromosome
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.commons.math3.genetics.AbstractListChromosome
super_class: org.apache.commons.math3.genetics.Chromosome
{
private final java.util.List<T> representation;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<TT;>;
public void <init>(java.util.List<T>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokespecial org.apache.commons.math3.genetics.AbstractListChromosome.<init>:(Ljava/util/List;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/genetics/AbstractListChromosome<TT;>;
0 2 1 representation Ljava/util/List<TT;>;
Exceptions:
throws org.apache.commons.math3.genetics.InvalidRepresentationException
Signature: (Ljava/util/List<TT;>;)V
MethodParameters:
Name Flags
representation final
public void <init>();
descriptor: ([Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial org.apache.commons.math3.genetics.AbstractListChromosome.<init>:(Ljava/util/List;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/genetics/AbstractListChromosome<TT;>;
0 2 1 representation [Ljava/lang/Object;
Exceptions:
throws org.apache.commons.math3.genetics.InvalidRepresentationException
Signature: ([TT;)V
MethodParameters:
Name Flags
representation final
public void <init>(java.util.List<T>, );
descriptor: (Ljava/util/List;Z)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
invokespecial org.apache.commons.math3.genetics.Chromosome.<init>:()V
1: aload 0
aload 1
invokevirtual org.apache.commons.math3.genetics.AbstractListChromosome.checkValidity:(Ljava/util/List;)V
2: aload 0
3: iload 2
ifeq 4
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
goto 5
StackMap locals: org.apache.commons.math3.genetics.AbstractListChromosome java.util.List int
StackMap stack: org.apache.commons.math3.genetics.AbstractListChromosome
4: aload 1
StackMap locals: org.apache.commons.math3.genetics.AbstractListChromosome java.util.List int
StackMap stack: org.apache.commons.math3.genetics.AbstractListChromosome java.util.List
5: invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
6: putfield org.apache.commons.math3.genetics.AbstractListChromosome.representation:Ljava/util/List;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/math3/genetics/AbstractListChromosome<TT;>;
0 8 1 representation Ljava/util/List<TT;>;
0 8 2 copyList Z
Signature: (Ljava/util/List<TT;>;Z)V
MethodParameters:
Name Flags
representation final
copyList final
protected abstract void checkValidity(java.util.List<T>);
descriptor: (Ljava/util/List;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws org.apache.commons.math3.genetics.InvalidRepresentationException
Signature: (Ljava/util/List<TT;>;)V
MethodParameters:
Name Flags
chromosomeRepresentation
protected java.util.List<T> getRepresentation();
descriptor: ()Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.genetics.AbstractListChromosome.representation:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/genetics/AbstractListChromosome<TT;>;
Signature: ()Ljava/util/List<TT;>;
public int getLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.math3.genetics.AbstractListChromosome.getRepresentation:()Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/genetics/AbstractListChromosome<TT;>;
public abstract org.apache.commons.math3.genetics.AbstractListChromosome<T> newFixedLengthChromosome(java.util.List<T>);
descriptor: (Ljava/util/List;)Lorg/apache/commons/math3/genetics/AbstractListChromosome;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/util/List<TT;>;)Lorg/apache/commons/math3/genetics/AbstractListChromosome<TT;>;
MethodParameters:
Name Flags
chromosomeRepresentation final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "(f=%s %s)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.commons.math3.genetics.AbstractListChromosome.getFitness:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_1
aload 0
invokevirtual org.apache.commons.math3.genetics.AbstractListChromosome.getRepresentation:()Ljava/util/List;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/genetics/AbstractListChromosome<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lorg/apache/commons/math3/genetics/Chromosome;
SourceFile: "AbstractListChromosome.java"