org.forester.phylogenyinference
Enum CharacterStateMatrix.NucleotideStates
java.lang.Object
java.lang.Enum<CharacterStateMatrix.NucleotideStates>
org.forester.phylogenyinference.CharacterStateMatrix.NucleotideStates
- All Implemented Interfaces:
- Serializable, Comparable<CharacterStateMatrix.NucleotideStates>
- Enclosing interface:
- CharacterStateMatrix<S>
public static enum CharacterStateMatrix.NucleotideStates
- extends Enum<CharacterStateMatrix.NucleotideStates>
A
public static final CharacterStateMatrix.NucleotideStates A
C
public static final CharacterStateMatrix.NucleotideStates C
G
public static final CharacterStateMatrix.NucleotideStates G
T
public static final CharacterStateMatrix.NucleotideStates T
UNKNOWN
public static final CharacterStateMatrix.NucleotideStates UNKNOWN
values
public static CharacterStateMatrix.NucleotideStates[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CharacterStateMatrix.NucleotideStates c : CharacterStateMatrix.NucleotideStates.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CharacterStateMatrix.NucleotideStates valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null