Package org.snpeff.genBank
Enum Feature.Type
- java.lang.Object
-
- java.lang.Enum<Feature.Type>
-
- org.snpeff.genBank.Feature.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Feature.Type>
- Enclosing class:
- Feature
public static enum Feature.Type extends java.lang.Enum<Feature.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CDS
GENE
ID
MAT_PEPTIDE
MISC_FEATURE
MISC_RNA
MRNA
REPEAT_REGION
REPEAT_UNIT
RRNA
SOURCE
TRNA
UTR_3
UTR_5
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Feature.Type
parse(java.lang.String typeStr)
Parse a string into a Feature.Typestatic Feature.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Feature.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOURCE
public static final Feature.Type SOURCE
-
ID
public static final Feature.Type ID
-
CDS
public static final Feature.Type CDS
-
GENE
public static final Feature.Type GENE
-
MRNA
public static final Feature.Type MRNA
-
TRNA
public static final Feature.Type TRNA
-
RRNA
public static final Feature.Type RRNA
-
MISC_RNA
public static final Feature.Type MISC_RNA
-
REPEAT_UNIT
public static final Feature.Type REPEAT_UNIT
-
REPEAT_REGION
public static final Feature.Type REPEAT_REGION
-
MISC_FEATURE
public static final Feature.Type MISC_FEATURE
-
UTR_3
public static final Feature.Type UTR_3
-
UTR_5
public static final Feature.Type UTR_5
-
MAT_PEPTIDE
public static final Feature.Type MAT_PEPTIDE
-
-
Method Detail
-
values
public static Feature.Type[] 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 (Feature.Type c : Feature.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Feature.Type 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
-
parse
public static Feature.Type parse(java.lang.String typeStr)
Parse a string into a Feature.Type
-
-