Package org.forester.util
Enum ForesterConstants.PhylogeneticTreeFormats
- java.lang.Object
-
- java.lang.Enum<ForesterConstants.PhylogeneticTreeFormats>
-
- org.forester.util.ForesterConstants.PhylogeneticTreeFormats
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ForesterConstants.PhylogeneticTreeFormats>
- Enclosing class:
- ForesterConstants
public static enum ForesterConstants.PhylogeneticTreeFormats extends java.lang.Enum<ForesterConstants.PhylogeneticTreeFormats>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ForesterConstants.PhylogeneticTreeFormats
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ForesterConstants.PhylogeneticTreeFormats[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NH
public static final ForesterConstants.PhylogeneticTreeFormats NH
-
NHX
public static final ForesterConstants.PhylogeneticTreeFormats NHX
-
NEXUS
public static final ForesterConstants.PhylogeneticTreeFormats NEXUS
-
PHYLOXML
public static final ForesterConstants.PhylogeneticTreeFormats PHYLOXML
-
-
Method Detail
-
values
public static ForesterConstants.PhylogeneticTreeFormats[] 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 (ForesterConstants.PhylogeneticTreeFormats c : ForesterConstants.PhylogeneticTreeFormats.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ForesterConstants.PhylogeneticTreeFormats 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
-
-