Package org.openscience.cdk.interfaces
Enum IAtomType.Hybridization
- java.lang.Object
-
- java.lang.Enum<IAtomType.Hybridization>
-
- org.openscience.cdk.interfaces.IAtomType.Hybridization
-
- All Implemented Interfaces:
Serializable
,Comparable<IAtomType.Hybridization>
- Enclosing interface:
- IAtomType
public static enum IAtomType.Hybridization extends Enum<IAtomType.Hybridization>
An enum for the different hybridization states.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IAtomType.Hybridization
valueOf(String name)
Returns the enum constant of this type with the specified name.static IAtomType.Hybridization[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
S
public static final IAtomType.Hybridization S
-
SP1
public static final IAtomType.Hybridization SP1
-
SP2
public static final IAtomType.Hybridization SP2
-
SP3
public static final IAtomType.Hybridization SP3
-
PLANAR3
public static final IAtomType.Hybridization PLANAR3
-
SP3D1
public static final IAtomType.Hybridization SP3D1
-
SP3D2
public static final IAtomType.Hybridization SP3D2
-
SP3D3
public static final IAtomType.Hybridization SP3D3
-
SP3D4
public static final IAtomType.Hybridization SP3D4
-
SP3D5
public static final IAtomType.Hybridization SP3D5
-
-
Method Detail
-
values
public static IAtomType.Hybridization[] 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 (IAtomType.Hybridization c : IAtomType.Hybridization.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IAtomType.Hybridization 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
-
-