Package org.openscience.cdk.interfaces
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
Enumeration that defines the two possible chiralities for this stereochemistry type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptioninvert()
Invert this conformation, inv(clockwise) = anti_clockwise, inv(anti_clockwise) = clockwise.static int
toConfig
(ITetrahedralChirality.Stereo stereo) static ITetrahedralChirality.Stereo
toStereo
(int cfg) static ITetrahedralChirality.Stereo
Returns the enum constant of this class with the specified name.static ITetrahedralChirality.Stereo[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLOCKWISE
-
ANTI_CLOCKWISE
-
-
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
-
toConfig
-
toStereo
-
invert
Invert this conformation, inv(clockwise) = anti_clockwise, inv(anti_clockwise) = clockwise.- Returns:
- the inverse conformation
-