Enum AminoAcid.Property

java.lang.Object
java.lang.Enum<AminoAcid.Property>
com.compomics.util.experiment.biology.aminoacids.AminoAcid.Property
All Implemented Interfaces:
Serializable, Comparable<AminoAcid.Property>, java.lang.constant.Constable
Enclosing class:
AminoAcid

public static enum AminoAcid.Property extends Enum<AminoAcid.Property>
Properties of the amino acids.
  • Enum Constant Details

  • Field Details

    • name

      public final String name
      The name of the property.
  • Method Details

    • values

      public static AminoAcid.Property[] 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 AminoAcid.Property 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
    • getNProperties

      public static int getNProperties()
      Returns the number of implemented properties.
      Returns:
      the number of implemented properties
    • getProperty

      public AminoAcid.Property getProperty(int index)
      Returns the property at index.
      Parameters:
      index - the index
      Returns:
      the property at index