public static enum OrganicMoleculeBuilder.SubstituentType extends java.lang.Enum<OrganicMoleculeBuilder.SubstituentType>
Enum Constant and Description |
---|
ALCOHOL
An alcohol (-OH group).
|
ALKANE
A single-bonded chain of carbons.
|
CARBONYL
A carbonyl (=O group).
|
HALOGEN
A halogen.
|
Modifier and Type | Method and Description |
---|---|
static OrganicMoleculeBuilder.SubstituentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrganicMoleculeBuilder.SubstituentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrganicMoleculeBuilder.SubstituentType ALKANE
public static final OrganicMoleculeBuilder.SubstituentType HALOGEN
public static final OrganicMoleculeBuilder.SubstituentType ALCOHOL
public static final OrganicMoleculeBuilder.SubstituentType CARBONYL
public static OrganicMoleculeBuilder.SubstituentType[] values()
for (OrganicMoleculeBuilder.SubstituentType c : OrganicMoleculeBuilder.SubstituentType.values()) System.out.println(c);
public static OrganicMoleculeBuilder.SubstituentType 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 null