public enum SequenceType extends Enum<SequenceType>
Enum Constant and Description |
---|
CODING_DNA
coding DNA
"c." |
GENOMIC
genomic
"g." |
MITOCHONDRIAL_DNA
mitochondrial DNA
"m." |
NON_CODING_DNA
non-coding DNA
"n." |
PROTEIN
protein
"p." |
RNA
RNA
"r." |
Modifier and Type | Method and Description |
---|---|
static SequenceType |
findMatchingForPrefix(String prefix) |
String |
getPrefix() |
static SequenceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SequenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SequenceType CODING_DNA
"c."
public static final SequenceType GENOMIC
"g."
public static final SequenceType MITOCHONDRIAL_DNA
"m."
public static final SequenceType NON_CODING_DNA
"n."
public static final SequenceType RNA
"r."
public static final SequenceType PROTEIN
"p."
public static SequenceType[] values()
for (SequenceType c : SequenceType.values()) System.out.println(c);
public static SequenceType 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 static SequenceType findMatchingForPrefix(String prefix)
SequenceType
value for the given prefix
public String getPrefix()
"c."
or "g."
.Copyright © 2016. All rights reserved.