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.
  • Enum Constant Details

  • Field Details

    • index

      public final int index
      The index of the type as integer.
    • description

      public final String description
      The description.
  • Method Details

    • values

      public static SequenceMatchingParameters.MatchingType[] 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

      public static SequenceMatchingParameters.MatchingType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SequenceMatchingParameters.MatchingType>
    • getCommandLineOptions

      public static String getCommandLineOptions()
      Returns the different matching types as command line options description.
      Returns:
      the different matching types as command line options description
    • getMatchingType

      public static SequenceMatchingParameters.MatchingType getMatchingType(int index)
      Returns the matching type corresponding to the given index.
      Parameters:
      index - the index of the matching type
      Returns:
      the matching type