Enum ElementType

ElementType is an enumeration of the types of elements found in the periodic table.
Each element type is further classified into Metal, Metalloid, and Non-Metal.
Element types based on definition at http://www.ptable.com/

valueOf

Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)