Modifier and Type | Method and Description |
---|---|
int |
getAtomicNumber() |
static java.util.HashMap<java.lang.Integer,Element> |
getByAtomicNumber() |
static java.util.HashMap<java.lang.String,Element> |
getBySymbol() |
int |
getNeutrons() |
java.lang.String |
getSymbol() |
static Element |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Element[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Element Hydrogen
public static final Element Helium
public static final Element Lithium
public static final Element Beryllium
public static final Element Boron
public static final Element Carbon
public static final Element Nitrogen
public static final Element Oxygen
public static final Element Fluorine
public static final Element Neon
public static final Element Sodium
public static final Element Magnesium
public static final Element Aluminium
public static final Element Silicon
public static final Element Phosphorus
public static final Element Sulfur
public static final Element Chlorine
public static final Element Argon
public static final Element Potassium
public static final Element Calcium
public static final Element Scandium
public static final Element Titanium
public static final Element Vanadium
public static final Element Chromium
public static final Element Manganese
public static final Element Iron
public static final Element Cobalt
public static final Element Nickel
public static final Element Copper
public static final Element Zinc
public static final Element Gallium
public static final Element Germanium
public static final Element Arsenic
public static final Element Selenium
public static final Element Bromine
public static final Element Krypton
public static final Element Rubidium
public static final Element Strontium
public static final Element Yttrium
public static final Element Zirconium
public static final Element Niobium
public static final Element Molybdenum
public static final Element Technetium
public static final Element Ruthenium
public static final Element Rhodium
public static final Element Palladium
public static final Element Silver
public static final Element Cadmium
public static final Element Indium
public static final Element Tin
public static final Element Antimony
public static final Element Tellurium
public static final Element Iodine
public static final Element Xenon
public static final Element Caesium
public static final Element Barium
public static final Element Lanthanum
public static final Element Cerium
public static final Element Praseodymium
public static final Element Neodymium
public static final Element Promethium
public static final Element Samarium
public static final Element Europium
public static final Element Gadolinium
public static final Element Terbium
public static final Element Dysprosium
public static final Element Holmium
public static final Element Erbium
public static final Element Thulium
public static final Element Ytterbium
public static final Element Lutetium
public static final Element Hafnium
public static final Element Tantalum
public static final Element Tungsten
public static final Element Rhenium
public static final Element Osmium
public static final Element Iridium
public static final Element Platinum
public static final Element Gold
public static final Element Mercury
public static final Element Thallium
public static final Element Lead
public static final Element Bismuth
public static final Element Polonium
public static final Element Astatine
public static final Element Radon
public static final Element Francium
public static final Element Radium
public static final Element Actinium
public static final Element Thorium
public static final Element Protactinium
public static final Element Uranium
public static final Element Neptunium
public static final Element Plutonium
public static final Element Americium
public static final Element Curium
public static final Element Berkelium
public static final Element Californium
public static final Element Einsteinium
public static final Element Fermium
public static final Element Mendelevium
public static final Element Nobelium
public static final Element Lawrencium
public static final Element Rutherfordium
public static final Element Dubnium
public static final Element Seaborgium
public static final Element Bohrium
public static final Element Hassium
public static final Element Meitnerium
public static final Element Darmstadtium
public static final Element Roentgenium
public static final Element Copernicium
public static final Element Nihonium
public static final Element Flerovium
public static final Element Moscovium
public static final Element Livermorium
public static final Element Tennessine
public static final Element Oganesson
public static final Element Unknown
public static Element[] values()
for (Element c : Element.values()) System.out.println(c);
public static Element 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 static java.util.HashMap<java.lang.String,Element> getBySymbol()
public static java.util.HashMap<java.lang.Integer,Element> getByAtomicNumber()
public int getAtomicNumber()
public java.lang.String getSymbol()
public int getNeutrons()