Package chemaxon.standardizer.actions
Enum Class RemoveFragmentAction.Method
java.lang.Object
java.lang.Enum<RemoveFragmentAction.Method>
chemaxon.standardizer.actions.RemoveFragmentAction.Method
- All Implemented Interfaces:
Serializable
,Comparable<RemoveFragmentAction.Method>
,java.lang.constant.Constable
- Enclosing class:
- RemoveFragmentAction
Type of removal methods
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionKeep largest fragmentKeep largest fragmentRemove largest fragmentRemove smallest fragment -
Method Summary
Modifier and TypeMethodDescriptionstatic RemoveFragmentAction.Method
Parses the method of the remove fragment actiontoString()
static RemoveFragmentAction.Method
Returns the enum constant of this class with the specified name.static RemoveFragmentAction.Method[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KEEPLARGEST
Keep largest fragment -
REMOVESMALLEST
Remove smallest fragment -
REMOVELARGEST
Remove largest fragment -
KEEPSMALLEST
Keep largest fragment
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<RemoveFragmentAction.Method>
-
parse
Parses the method of the remove fragment action- Parameters:
method
- the string representation of the method to be parsed- Returns:
- the method of the remove fragment
-