Enum Class ITetrahedralChirality.Stereo

java.lang.Object
java.lang.Enum<ITetrahedralChirality.Stereo>
org.openscience.cdk.interfaces.ITetrahedralChirality.Stereo
All Implemented Interfaces:
Serializable, Comparable<ITetrahedralChirality.Stereo>, java.lang.constant.Constable
Enclosing interface:
ITetrahedralChirality

public static enum ITetrahedralChirality.Stereo extends Enum<ITetrahedralChirality.Stereo>
Enumeration that defines the two possible chiralities for this stereochemistry type.
  • Enum Constant Details

  • Method Details

    • values

      public static ITetrahedralChirality.Stereo[] 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 ITetrahedralChirality.Stereo 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
    • toConfig

      public static int toConfig(ITetrahedralChirality.Stereo stereo)
    • toStereo

      public static ITetrahedralChirality.Stereo toStereo(int cfg)
    • invert

      Invert this conformation, inv(clockwise) = anti_clockwise, inv(anti_clockwise) = clockwise.
      Returns:
      the inverse conformation