Enum SequenceMatchingParameters.MatchingType
java.lang.Object
java.lang.Enum<SequenceMatchingParameters.MatchingType>
com.compomics.util.parameters.identification.advanced.SequenceMatchingParameters.MatchingType
- All Implemented Interfaces:
Serializable,Comparable<SequenceMatchingParameters.MatchingType>,java.lang.constant.Constable
- Enclosing class:
SequenceMatchingParameters
public static enum SequenceMatchingParameters.MatchingType
extends Enum<SequenceMatchingParameters.MatchingType>
The different types of amino acid matching.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMatches amino acids.Matches amino acids of indistinguishable masses (I/L).Matches character strings only. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe description.final intThe index of the type as integer. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the different matching types as command line options description.getMatchingType(int index) Returns the matching type corresponding to the given index.toString()Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
string
Matches character strings only. -
aminoAcid
Matches amino acids. -
indistiguishableAminoAcids
Matches amino acids of indistinguishable masses (I/L).
-
-
Field Details
-
index
public final int indexThe index of the type as integer. -
description
The description.
-
-
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
-
toString
- Overrides:
toStringin classEnum<SequenceMatchingParameters.MatchingType>
-
getCommandLineOptions
Returns the different matching types as command line options description.- Returns:
- the different matching types as command line options description
-
getMatchingType
Returns the matching type corresponding to the given index.- Parameters:
index- the index of the matching type- Returns:
- the matching type
-