public static enum MDLV2000Writer.SPIN_MULTIPLICITY extends Enum<MDLV2000Writer.SPIN_MULTIPLICITY>
Enum Constant and Description |
---|
DivalentSinglet |
DivalentTriplet |
Monovalent |
None |
Modifier and Type | Method and Description |
---|---|
int |
getSingleElectrons()
The number of single electrons that correspond to the spin multiplicity.
|
int |
getValue()
Radical value for the spin multiplicity in the properties block.
|
static MDLV2000Writer.SPIN_MULTIPLICITY |
ofValue(int value)
Create a SPIN_MULTIPLICITY instance for the specified value.
|
static MDLV2000Writer.SPIN_MULTIPLICITY |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MDLV2000Writer.SPIN_MULTIPLICITY[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MDLV2000Writer.SPIN_MULTIPLICITY None
public static final MDLV2000Writer.SPIN_MULTIPLICITY Monovalent
public static final MDLV2000Writer.SPIN_MULTIPLICITY DivalentSinglet
public static final MDLV2000Writer.SPIN_MULTIPLICITY DivalentTriplet
public static MDLV2000Writer.SPIN_MULTIPLICITY[] values()
for (MDLV2000Writer.SPIN_MULTIPLICITY c : MDLV2000Writer.SPIN_MULTIPLICITY.values()) System.out.println(c);
public static MDLV2000Writer.SPIN_MULTIPLICITY valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public int getSingleElectrons()
public static MDLV2000Writer.SPIN_MULTIPLICITY ofValue(int value) throws CDKException
value
- input value (in the property block)CDKException
- unknown spin multiplicity valueCopyright © 2021. All rights reserved.