Package org.openscience.cdk.tools
Enum ErtlFunctionalGroupsFinder.Mode
- java.lang.Object
-
- java.lang.Enum<ErtlFunctionalGroupsFinder.Mode>
-
- org.openscience.cdk.tools.ErtlFunctionalGroupsFinder.Mode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ErtlFunctionalGroupsFinder.Mode>
- Enclosing class:
- ErtlFunctionalGroupsFinder
public static enum ErtlFunctionalGroupsFinder.Mode extends java.lang.Enum<ErtlFunctionalGroupsFinder.Mode>
Defines the mode for generalizing functional group environments (default), keeping them whole, or only extracting marked atoms.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
Default mode including the generalization step.NO_GENERALIZATION
Skips the generalization step.ONLY_MARKED_ATOMS
Functional groups will only consist of atoms marked according to the conditions defined by Ertl, environments will be completely ignored.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErtlFunctionalGroupsFinder.Mode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ErtlFunctionalGroupsFinder.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final ErtlFunctionalGroupsFinder.Mode DEFAULT
Default mode including the generalization step.
-
NO_GENERALIZATION
public static final ErtlFunctionalGroupsFinder.Mode NO_GENERALIZATION
Skips the generalization step. Functional groups will keep their full environment.
-
ONLY_MARKED_ATOMS
public static final ErtlFunctionalGroupsFinder.Mode ONLY_MARKED_ATOMS
Functional groups will only consist of atoms marked according to the conditions defined by Ertl, environments will be completely ignored.
-
-
Method Detail
-
values
public static ErtlFunctionalGroupsFinder.Mode[] 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 (ErtlFunctionalGroupsFinder.Mode c : ErtlFunctionalGroupsFinder.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErtlFunctionalGroupsFinder.Mode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-