Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormula() |
java.lang.String |
getSymbol() |
static Compound |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Compound[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compound Aluminium_Oxide
public static final Compound Ammonia
public static final Compound Barium_Sulfate
public static final Compound Benzene
public static final Compound Boron_Trioxide
public static final Compound Calcium_Bromide
public static final Compound Calcium_Chloride
public static final Compound Cerium_Chloride
public static final Compound Charcoal
public static final Compound Crude_Oil
public static final Compound Glue
public static final Compound Hydrogen_Peroxide
public static final Compound Ink
public static final Compound Iron_Sulfide
public static final Compound Latex
public static final Compound Lithium_Hydride
public static final Compound Luminol
public static final Compound Lye
public static final Compound Magnesium_Nitrate
public static final Compound Magnesium_Oxide
public static final Compound Mercuric_Chloride
public static final Compound Polyethylene
public static final Compound Potassium_Chloride
public static final Compound Potassium_Iodide
public static final Compound Salt
public static final Compound Soap
public static final Compound Sodium_Acetate
public static final Compound Sodium_Fluoride
public static final Compound Sodium_Hydride
public static final Compound Sodium_Hypochlorite
public static final Compound Sodium_Oxide
public static final Compound Sugar
public static final Compound Sulfate
public static final Compound Tungsten_Chloride
public static final Compound Water
public static Compound[] values()
for (Compound c : Compound.values()) System.out.println(c);
public static Compound 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 java.lang.String getFormula()
public java.lang.String getSymbol()