Package chemaxon.standardizer.actions
Enum RemoveFragmentAction.Measurement
- java.lang.Object
-
- java.lang.Enum<RemoveFragmentAction.Measurement>
-
- chemaxon.standardizer.actions.RemoveFragmentAction.Measurement
-
- All Implemented Interfaces:
Serializable
,Comparable<RemoveFragmentAction.Measurement>
- Enclosing class:
- RemoveFragmentAction
public static enum RemoveFragmentAction.Measurement extends Enum<RemoveFragmentAction.Measurement>
Type of measurement
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATOMCOUNT
Atom count of the moleculeHEAVYATOMCOUNT
Heavy atom count of the moleculeMOLMASS
Mass of the molecule
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemoveFragmentAction.Measurement
parse(String type)
Parses the measurement of the remove fragment actionString
toString()
static RemoveFragmentAction.Measurement
valueOf(String name)
Returns the enum constant of this type with the specified name.static RemoveFragmentAction.Measurement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATOMCOUNT
public static final RemoveFragmentAction.Measurement ATOMCOUNT
Atom count of the molecule
-
MOLMASS
public static final RemoveFragmentAction.Measurement MOLMASS
Mass of the molecule
-
HEAVYATOMCOUNT
public static final RemoveFragmentAction.Measurement HEAVYATOMCOUNT
Heavy atom count of the molecule
-
-
Method Detail
-
values
public static RemoveFragmentAction.Measurement[] 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 (RemoveFragmentAction.Measurement c : RemoveFragmentAction.Measurement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RemoveFragmentAction.Measurement 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<RemoveFragmentAction.Measurement>
-
parse
public static RemoveFragmentAction.Measurement parse(String type)
Parses the measurement of the remove fragment action- Parameters:
type
- the string representation of the type to be parsed- Returns:
- the measurement of the remove fragment action
-
-