Package org.openscience.cdk.stereo
Enum Stereocenters.Stereocenter
- java.lang.Object
-
- java.lang.Enum<Stereocenters.Stereocenter>
-
- org.openscience.cdk.stereo.Stereocenters.Stereocenter
-
- All Implemented Interfaces:
Serializable
,Comparable<Stereocenters.Stereocenter>
- Enclosing class:
- Stereocenters
public static enum Stereocenters.Stereocenter extends Enum<Stereocenters.Stereocenter>
Defines the type of a stereocenter.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stereocenters.Stereocenter
valueOf(String name)
Returns the enum constant of this type with the specified name.static Stereocenters.Stereocenter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
True
public static final Stereocenters.Stereocenter True
Atom is a true stereo-centre.
-
Para
public static final Stereocenters.Stereocenter Para
Atom resembles a stereo-centre (para).
-
Potential
public static final Stereocenters.Stereocenter Potential
Atom is a potential stereo-centre
-
Non
public static final Stereocenters.Stereocenter Non
Non stereo-centre.
-
-
Method Detail
-
values
public static Stereocenters.Stereocenter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Stereocenters.Stereocenter c : Stereocenters.Stereocenter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Stereocenters.Stereocenter valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-