Package com.chemaxon.search
Enum Class AromatizationMethod
- All Implemented Interfaces:
Serializable
,Comparable<AromatizationMethod>
,java.lang.constant.Constable
Enum for aromatization methods used during the search process.
- Since:
- JChem 5.12
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
Gets the int code of the aromatization method.static AromatizationMethod
valueOf
(int code) Gets the aromatization method corresponding to the given int code.static AromatizationMethod
Returns the enum constant of this class with the specified name.static AromatizationMethod[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No aromatization. -
BASIC
Basic aromatization. -
GENERAL
General aromatization. -
LOOSE
Loose aromatization. -
AMBIGUOUS
Aromatization for ambiguous 5-membered rings.
-
-
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
-
getCode
public int getCode()Gets the int code of the aromatization method.- Returns:
- the corresponding int code defined in
MoleculeGraph
-
valueOf
Gets the aromatization method corresponding to the given int code.- Parameters:
code
- int code defined inMoleculeGraph
- Returns:
- the corresponding aromatization method
-