Enum BlastProgramEnum
- java.lang.Object
-
- java.lang.Enum<BlastProgramEnum>
-
- org.biojava.nbio.ws.alignment.qblast.BlastProgramEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<BlastProgramEnum>
public enum BlastProgramEnum extends Enum<BlastProgramEnum>
Enum representing available blast programs. Values are as used by QBlast URL API.- Author:
- Gediminas Rimsa
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlastProgramEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static BlastProgramEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
blastn
public static final BlastProgramEnum blastn
-
blastp
public static final BlastProgramEnum blastp
-
blastx
public static final BlastProgramEnum blastx
-
megablast
public static final BlastProgramEnum megablast
-
tblastn
public static final BlastProgramEnum tblastn
-
tblastx
public static final BlastProgramEnum tblastx
-
-
Method Detail
-
values
public static BlastProgramEnum[] 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 (BlastProgramEnum c : BlastProgramEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlastProgramEnum valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-