Enum Class MMElementRule.RangeMass

java.lang.Object
java.lang.Enum<MMElementRule.RangeMass>
org.openscience.cdk.formula.rules.MMElementRule.RangeMass
All Implemented Interfaces:
Serializable, Comparable<MMElementRule.RangeMass>, java.lang.constant.Constable
Enclosing class:
MMElementRule

public static enum MMElementRule.RangeMass extends Enum<MMElementRule.RangeMass>
A enumeration of the possible mass range according the rules.
  • Enum Constant Details

    • Minus500

      public static final MMElementRule.RangeMass Minus500
      IMolecularFormula from a metabolite with a mass lower than 500 Da.
    • Minus1000

      public static final MMElementRule.RangeMass Minus1000
      IMolecularFormula from a metabolite with a mass lower than 1000 Da.
    • Minus2000

      public static final MMElementRule.RangeMass Minus2000
      IMolecularFormula from a metabolite with a mass lower than 2000 Da.
    • Minus3000

      public static final MMElementRule.RangeMass Minus3000
      IMolecularFormula from a metabolite with a mass lower than 3000 Da.
  • Method Details

    • values

      public static MMElementRule.RangeMass[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MMElementRule.RangeMass valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null