|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<BitwiseChromosome.BitSize> jenes.chromosome.BitwiseChromosome.BitSize
public static enum BitwiseChromosome.BitSize
Definition of the number bit length and mask to use in the coding operations.
Enum Constant Summary | |
---|---|
BIT1
Standard 1 bit strucure |
|
BIT16
Standard 16 bits strucure |
|
BIT32
Standard 32 bits strucure |
|
BIT8
Standard 8 bits strucure |
Field Summary | |
---|---|
int |
BITS
The number of bits |
int |
MASK
The bit mask for retrieving and setting |
Method Summary | |
---|---|
static BitwiseChromosome.BitSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BitwiseChromosome.BitSize[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BitwiseChromosome.BitSize BIT1
public static final BitwiseChromosome.BitSize BIT8
public static final BitwiseChromosome.BitSize BIT16
public static final BitwiseChromosome.BitSize BIT32
Field Detail |
---|
public final int BITS
public final int MASK
Method Detail |
---|
public static BitwiseChromosome.BitSize[] values()
for (BitwiseChromosome.BitSize c : BitwiseChromosome.BitSize.values()) System.out.println(c);
public static BitwiseChromosome.BitSize valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |