Package org.openscience.cdk.io
Enum Class MDLV2000Writer.SPIN_MULTIPLICITY
java.lang.Object
java.lang.Enum<MDLV2000Writer.SPIN_MULTIPLICITY>
org.openscience.cdk.io.MDLV2000Writer.SPIN_MULTIPLICITY
- All Implemented Interfaces:
Serializable
,Comparable<MDLV2000Writer.SPIN_MULTIPLICITY>
,java.lang.constant.Constable
- Enclosing class:
- MDLV2000Writer
Enumeration of all valid radical values.
-
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 TypeMethodDescriptionint
The number of single electrons that correspond to the spin multiplicity.int
getValue()
Radical value for the spin multiplicity in the properties block.ofValue
(int value) Create a SPIN_MULTIPLICITY instance for the specified value.Returns the enum constant of this class with the specified name.static MDLV2000Writer.SPIN_MULTIPLICITY[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
-
Monovalent
-
DivalentSinglet
-
DivalentTriplet
-
-
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
-
getValue
public int getValue()Radical value for the spin multiplicity in the properties block.- Returns:
- the radical value
-
getSingleElectrons
public int getSingleElectrons()The number of single electrons that correspond to the spin multiplicity.- Returns:
- the number of single electrons
-
ofValue
Create a SPIN_MULTIPLICITY instance for the specified value.- Parameters:
value
- input value (in the property block)- Returns:
- instance
- Throws:
CDKException
- unknown spin multiplicity value
-