Package org.openscience.cdk.stereo
Enum Stereocenters.Type
- java.lang.Object
-
- java.lang.Enum<Stereocenters.Type>
-
- org.openscience.cdk.stereo.Stereocenters.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Stereocenters.Type>
- Enclosing class:
- Stereocenters
public static enum Stereocenters.Type extends Enum<Stereocenters.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Bicoordinate
An atom within a cumulated system.None
A non-stereogenic atom.Tetracoordinate
A potentially stereogenic atom with 4 neighbors - tetrahedral centres.Tricoordinate
A potentially stereogenic atom with 3 neighbors - one atom in a geometric centres or cumulated system (allene, cumulene).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stereocenters.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Stereocenters.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Bicoordinate
public static final Stereocenters.Type Bicoordinate
An atom within a cumulated system. (not yet supported)
-
Tricoordinate
public static final Stereocenters.Type Tricoordinate
A potentially stereogenic atom with 3 neighbors - one atom in a geometric centres or cumulated system (allene, cumulene).
-
Tetracoordinate
public static final Stereocenters.Type Tetracoordinate
A potentially stereogenic atom with 4 neighbors - tetrahedral centres.
-
None
public static final Stereocenters.Type None
A non-stereogenic atom.
-
-
Method Detail
-
values
public static Stereocenters.Type[] 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.Type c : Stereocenters.Type.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.Type 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
-
-