Package org.forester.msa
Enum Msa.MSA_FORMAT
- java.lang.Object
-
- java.lang.Enum<Msa.MSA_FORMAT>
-
- org.forester.msa.Msa.MSA_FORMAT
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Msa.MSA_FORMAT>
- Enclosing interface:
- Msa
public static enum Msa.MSA_FORMAT extends java.lang.Enum<Msa.MSA_FORMAT>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Msa.MSA_FORMAT
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Msa.MSA_FORMAT[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FASTA
public static final Msa.MSA_FORMAT FASTA
-
PHYLIP
public static final Msa.MSA_FORMAT PHYLIP
-
NEXUS
public static final Msa.MSA_FORMAT NEXUS
-
-
Method Detail
-
values
public static Msa.MSA_FORMAT[] 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 (Msa.MSA_FORMAT c : Msa.MSA_FORMAT.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Msa.MSA_FORMAT valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-