public enum General extends java.lang.Enum<General> implements Descriptor
Tetrahedral
,
Trigonal
,
Planar
Descriptor.Type
Enum Constant and Description |
---|
NONE
Indicates an atom is known not to be a stereo-centre
|
UNKNOWN
Indicates that it is unknown whether the atom is a stereo-centre
|
UNSPECIFIED
A centre which is asymmetric but is lacking information to define a dull descriptor.
|
Modifier and Type | Method and Description |
---|---|
Descriptor.Type |
getType()
Access the
Descriptor.Type of the descriptor. |
static General |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static General[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final General UNSPECIFIED
public static final General NONE
public static final General UNKNOWN
public static General[] values()
for (General c : General.values()) System.out.println(c);
public static General valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic Descriptor.Type getType()
Descriptor
Descriptor.Type
of the descriptor. The type can be useful when ranking descriptors where similar type
descriptors can be considered equal.getType
in interface Descriptor
Descriptor.Type
,
Tetrahedral.getType()
,
Planar.getType()
,
Trigonal.getType()