public static enum BitwiseChromosome.BitSize extends java.lang.Enum<BitwiseChromosome.BitSize>
Enum Constant and Description |
---|
BIT1
Standard 1 bit strucure
|
BIT16
Standard 16 bits strucure
|
BIT32
Standard 32 bits strucure
|
BIT8
Standard 8 bits strucure
|
Modifier and Type | Field and Description |
---|---|
int |
BITS
The number of bits
|
int |
MASK
The bit mask for retrieving and setting
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final BitwiseChromosome.BitSize BIT1
public static final BitwiseChromosome.BitSize BIT8
public static final BitwiseChromosome.BitSize BIT16
public static final BitwiseChromosome.BitSize BIT32
public final int BITS
public final int MASK
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 namejava.lang.NullPointerException
- if the argument is null