public static enum AlphabetContainer.AlphabetContainerType extends Enum<AlphabetContainer.AlphabetContainerType>
enum
defines types of AlphabetContainer
s. These
can be comprised of discrete alphabets, continuous alphabets, or
discrete and continuous alphabets at different positions.Enum Constant and Description |
---|
BOTH
The
Alphabet s may be either continuous or discrete. |
CONTINUOUS
The all
Alphabet s are continuous. |
DISCRETE
The all
Alphabet s are discrete. |
Modifier and Type | Method and Description |
---|---|
LinkedList<InstanceParameterSet> |
getInstanceParameterSets()
This method returns a
LinkedList of
InstanceParameterSet s which can be used to create
Alphabet s that can be used in a AlphabetContainer of
the given AlphabetContainer.AlphabetContainerType . |
static AlphabetContainer.AlphabetContainerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlphabetContainer.AlphabetContainerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlphabetContainer.AlphabetContainerType DISCRETE
Alphabet
s are discrete.public static final AlphabetContainer.AlphabetContainerType CONTINUOUS
Alphabet
s are continuous.public static final AlphabetContainer.AlphabetContainerType BOTH
Alphabet
s may be either continuous or discrete.public static AlphabetContainer.AlphabetContainerType[] values()
for (AlphabetContainer.AlphabetContainerType c : AlphabetContainer.AlphabetContainerType.values()) System.out.println(c);
public static AlphabetContainer.AlphabetContainerType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic LinkedList<InstanceParameterSet> getInstanceParameterSets() throws ClassNotFoundException, InstantiationException, IllegalAccessException, IOException
LinkedList
of
InstanceParameterSet
s which can be used to create
Alphabet
s that can be used in a AlphabetContainer
of
the given AlphabetContainer.AlphabetContainerType
.LinkedList
of InstanceParameterSet
sIllegalAccessException
- if any InstanceParameterSet
or its nullary
constructor is not accessibleClassNotFoundException
- if one of the classes is present in the file system or
jar but cannot be loaded by the class loaderInstantiationException
- if any
InstanceParameterSet
has no nullary constructor; or
if the instantiation fails for some other reasonIOException
- if the classes are searched for in a jar file, but that
file could not be accessed or read