public static enum SequenceDocument.Alphabet extends Enum<SequenceDocument.Alphabet>
| Enum Constant and Description |
|---|
NUCLEOTIDE
Nucleotide sequences (DNA or RNA)
|
PROTEIN
Protein sequences (made of amino acids)
|
| Modifier and Type | Method and Description |
|---|---|
static SequenceDocument.Alphabet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SequenceDocument.Alphabet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SequenceDocument.Alphabet PROTEIN
public static final SequenceDocument.Alphabet NUCLEOTIDE
public static SequenceDocument.Alphabet[] values()
for (SequenceDocument.Alphabet c : SequenceDocument.Alphabet.values()) System.out.println(c);
public static SequenceDocument.Alphabet 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 null