org.biojava3.ws.alignment.qblast
Enum BlastProgramEnum

java.lang.Object
  extended by java.lang.Enum<BlastProgramEnum>
      extended by org.biojava3.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

Enum Constant Summary
blastn
           
blastp
           
blastx
           
megablast
           
tblastn
           
tblastx
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null