public enum BioSequenceType extends Enum<BioSequenceType>
Enum Constant and Description |
---|
NUCLEIC_ACID |
PROTEIN |
Modifier and Type | Method and Description |
---|---|
char |
getAbbrev() |
static BioSequenceType |
valueOf(char inAbbrev) |
static BioSequenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BioSequenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BioSequenceType PROTEIN
public static final BioSequenceType NUCLEIC_ACID
public static BioSequenceType[] values()
for (BioSequenceType c : BioSequenceType.values()) System.out.println(c);
public static BioSequenceType 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 char getAbbrev()
public static BioSequenceType valueOf(char inAbbrev)