Enum MMElementRule.RangeMass
- java.lang.Object
-
- java.lang.Enum<MMElementRule.RangeMass>
-
- org.openscience.cdk.formula.rules.MMElementRule.RangeMass
-
- All Implemented Interfaces:
Serializable
,Comparable<MMElementRule.RangeMass>
- Enclosing class:
- MMElementRule
public static enum MMElementRule.RangeMass extends Enum<MMElementRule.RangeMass>
A enumeration of the possible mass range according the rules.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Minus1000
IMolecularFormula from a metabolite with a mass lower than 1000 Da.Minus2000
IMolecularFormula from a metabolite with a mass lower than 2000 Da.Minus3000
IMolecularFormula from a metabolite with a mass lower than 3000 Da.Minus500
IMolecularFormula from a metabolite with a mass lower than 500 Da.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MMElementRule.RangeMass
valueOf(String name)
Returns the enum constant of this type with the specified name.static MMElementRule.RangeMass[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static MMElementRule.RangeMass[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MMElementRule.RangeMass c : MMElementRule.RangeMass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MMElementRule.RangeMass 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 nameNullPointerException
- if the argument is null
-
-