Package org.intermine.bio.web.biojava
Enum BioSequenceFactory.SequenceType
- java.lang.Object
-
- java.lang.Enum<BioSequenceFactory.SequenceType>
-
- org.intermine.bio.web.biojava.BioSequenceFactory.SequenceType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BioSequenceFactory.SequenceType>
- Enclosing class:
- BioSequenceFactory
public static enum BioSequenceFactory.SequenceType extends java.lang.Enum<BioSequenceFactory.SequenceType>
Type of sequences.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BioSequenceFactory.SequenceTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BioSequenceFactory.SequenceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DNA
public static final BioSequenceFactory.SequenceType DNA
DNA sequence
-
PROTEIN
public static final BioSequenceFactory.SequenceType PROTEIN
PROTEIN sequence
-
RNA
public static final BioSequenceFactory.SequenceType RNA
RNA sequence
-
-
Method Detail
-
values
public static BioSequenceFactory.SequenceType[] 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 (BioSequenceFactory.SequenceType c : BioSequenceFactory.SequenceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BioSequenceFactory.SequenceType 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
-
-