Enum Class AromatizationMethod

java.lang.Object
java.lang.Enum<AromatizationMethod>
com.chemaxon.search.AromatizationMethod
All Implemented Interfaces:
Serializable, Comparable<AromatizationMethod>, java.lang.constant.Constable

@PublicApi public enum AromatizationMethod extends Enum<AromatizationMethod>
Enum for aromatization methods used during the search process.
Since:
JChem 5.12
  • Enum Constant Details

  • Method Details

    • values

      public static AromatizationMethod[] 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

      public static AromatizationMethod valueOf(String name)
      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 name
      NullPointerException - 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

      public static AromatizationMethod valueOf(int code)
      Gets the aromatization method corresponding to the given int code.
      Parameters:
      code - int code defined in MoleculeGraph
      Returns:
      the corresponding aromatization method