Enum Class HergClass

java.lang.Object
java.lang.Enum<HergClass>
com.chemaxon.calculations.admet.HergClass
All Implemented Interfaces:
Serializable, Comparable<HergClass>, java.lang.constant.Constable

@PublicAPI public enum HergClass extends Enum<HergClass>
The possible values of hERG class prediction.
  • Enum Constant Details

  • Method Details

    • values

      public static HergClass[] 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 HergClass 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
    • fromId

      public static HergClass fromId(int id)
      Converts the given integer ID to the appropriate hERG class: 0 to SAFE and 1 to TOXIC.

      For internal use only.

      Throws:
      IllegalArgumentException - if ID is not 0 or 1