Enum Class Radical

java.lang.Object
java.lang.Enum<Radical>
chemaxon.struc.Radical
All Implemented Interfaces:
Serializable, Comparable<Radical>, Constable

@PublicApi public enum Radical extends Enum<Radical>
Enumeration of the supported radicals.
Since:
Marvin 6.2. 2013/11/07
  • Enum Constant Details

    • NO_RADICAL

      public static final Radical NO_RADICAL
      Not radical center.
    • MONOVALENT

      public static final Radical MONOVALENT
      Monovalent radical center.
    • DIVALENT

      public static final Radical DIVALENT
      Divalent radical center.
    • DIVALENT_SINGLET

      public static final Radical DIVALENT_SINGLET
      Divalent radical center with singlet electronic configuration.
    • DIVALENT_TRIPLET

      public static final Radical DIVALENT_TRIPLET
      Divalent radical center with triplet electronic configuration.
    • TRIVALENT

      public static final Radical TRIVALENT
      Trivalent radical center.
    • TRIVALENT_DOUBLET

      public static final Radical TRIVALENT_DOUBLET
      Trivalent radical center with doublet electronic configuration.
    • TRIVALENT_QUARTET

      public static final Radical TRIVALENT_QUARTET
      Trivalent radical center with quartet electronic configuration.
    • QUADRIVALENT

      public static final Radical QUADRIVALENT
      Quadrivalent radical center.
  • Method Details

    • values

      public static Radical[] 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 Radical 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
    • getIntValue

      public int getIntValue()
      Gets the integer representation of the radical.
      Returns:
      the radical value as int
    • forIntValue

      public static Radical forIntValue(int intValue)
      Gets the Radical that's int value is the given parameter.
      Parameters:
      intValue - the int value of the required Radical
      Returns:
      the Radical element whose int value is the same as the given parameter radicalValue or null if there is no such Radical element