Package chemaxon.struc
Enum Class AtomProperty.Radical
- All Implemented Interfaces:
Serializable
,Comparable<AtomProperty.Radical>
,java.lang.constant.Constable
- Enclosing class:
- AtomProperty
Enumeration of the supported radicals.
- Since:
- Marvin 6.2. 2013/11/07
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDivalent radical center.Divalent radical center with singlet electronic configuration.Divalent radical center with triplet electronic configuration.Monovalent radical center.Not radical center.Quadrivalent radical center.Trivalent radical center.Trivalent radical center with doublet electronic configuration.Trivalent radical center with quartet electronic configuration. -
Method Summary
Modifier and TypeMethodDescriptionstatic AtomProperty.Radical
forIntValue
(int intValue) Gets theAtomProperty.Radical
that's int value is the given parameter.int
Gets the integer representation of the radical.static AtomProperty.Radical
Returns the enum constant of this class with the specified name.static AtomProperty.Radical[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_RADICAL
Not radical center. -
MONOVALENT
Monovalent radical center. -
DIVALENT
Divalent radical center. -
DIVALENT_SINGLET
Divalent radical center with singlet electronic configuration. -
DIVALENT_TRIPLET
Divalent radical center with triplet electronic configuration. -
TRIVALENT
Trivalent radical center. -
TRIVALENT_DOUBLET
Trivalent radical center with doublet electronic configuration. -
TRIVALENT_QUARTET
Trivalent radical center with quartet electronic configuration. -
QUADRIVALENT
Quadrivalent radical center.
-
-
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
-
getIntValue
public int getIntValue()Gets the integer representation of the radical.- Returns:
- the radical value as int
-
forIntValue
Gets theAtomProperty.Radical
that's int value is the given parameter.- Parameters:
intValue
- the int value of the requiredAtomProperty.Radical
- Returns:
- the
AtomProperty.Radical
element whose int value is the same as the given parameterradicalValue
or null if there is no suchAtomProperty.Radical
element
-