Enum DigestionParameters.Specificity
java.lang.Object
java.lang.Enum<DigestionParameters.Specificity>
com.compomics.util.parameters.identification.search.DigestionParameters.Specificity
- All Implemented Interfaces:
Serializable,Comparable<DigestionParameters.Specificity>,java.lang.constant.Constable
- Enclosing class:
DigestionParameters
Enum for the different types of enzyme specificity.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecific at only one of the termini.Specific at both termini.Specific at the C-terminus only.Specific at the N-terminus only. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the different options as command line description.getSpecificity(int index) Returns the specificity of the given index.toString()Returns the enum constant of this type with the specified name.static DigestionParameters.Specificity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
specific
Specific at both termini. -
semiSpecific
Specific at only one of the termini. -
specificNTermOnly
Specific at the N-terminus only. -
specificCTermOnly
Specific at the C-terminus only.
-
-
Field Details
-
index
public final int indexThe index. -
name
The name.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getSpecificity
Returns the specificity of the given index.- Parameters:
index- the index of the specificity- Returns:
- the corresponding specificity
-
getCommandLineDescription
Returns the different options as command line description.- Returns:
- the different options as command line description
-
toString
- Overrides:
toStringin classEnum<DigestionParameters.Specificity>
-