@Status(stage=PRODUCTION, unitTests=ABSENT) @Review(by="Kees Schotanus", at="2010-03-07", reason="Initial review") public enum Element extends Enum<Element> implements LocalizableEnumeration
Enum Constant and Description |
---|
ACTINIUM
Actinium.
|
ALUMINUM
Aluminum.
|
AMERICIUM
Americium.
|
ANTIMONY
Antimony.
|
ARGON
Argon.
|
ARSENIC
Arsenic.
|
ASTATINE
Astatine.
|
BARIUM
Barium.
|
BERKELIUM
Berkelium.
|
BERYLLIUM
Beryllium.
|
BISMUTH
Bismuth.
|
BOHRIUM
Bohrium.
|
BORON
Boron.
|
BROMINE
Bromine.
|
CADMIUM
Cadmium.
|
CALCIUM
Calcium.
|
CALIFORNIUM
Californium.
|
CARBON
Carbon.
|
CERIUM
Cerium.
|
CESIUM
Cesium.
|
CHLORINE
Chlorine.
|
CHROMIUM
Chromium.
|
COBALT
Cobalt.
|
COPERNICIUM
Copernicium.
|
COPPER
Copper.
|
CURIUM
Curium.
|
DARMSTADTIUM
Darmstadtium.
|
DUBNIUM
Dubnium.
|
DYSPROSIUM
Dysprosium.
|
EINSTEINIUM
Einsteinium.
|
ERBIUM
Erbium.
|
EUROPIUM
Europium.
|
FERMIUM
Fermium.
|
FLEROVIUM
Flerovium.
|
FLUORINE
Fluorine.
|
FRANCIUM
Francium.
|
GADOLINIUM
Gadolinium.
|
GALLIUM
Gallium.
|
GERMANIUM
Germanium.
|
GOLD
Gold.
|
HAFNIUM
Hafnium.
|
HASSIUM
Hassium.
|
HELIUM
Helium.
|
HOLMIUM
Holmium.
|
HYDROGEN
Hydrogen.
|
INDIUM
Indium.
|
IODINE
Iodine.
|
IRIDIUM
Iridium.
|
IRON
Iron.
|
KRYPTON
Krypton.
|
LANTHANUM
Lanthanum.
|
LAWRENCIUM
Lawrencium.
|
LEAD
Lead.
|
LITHIUM
Lithium.
|
LIVERMORIUM
Livermorium.
|
LUTETIUM
Lutetium.
|
MAGNESIUM
Magnesium.
|
MANGANESE
Manganese.
|
MEITNERIUM
Meitnerium.
|
MENDELEVIUM
Mendelevium.
|
MERCURY
Mercury.
|
MOLYBDENUM
Molybdenum.
|
MOSCOVIUM
Moscovium.
|
NEODYMIUM
Neodymium.
|
NEON
Neon.
|
NEPTUNIUM
Neptunium.
|
NICKEL
Nickel.
|
NIHONIUM
Nihonium.
|
NIOBIUM
Niobium.
|
NITROGEN
Nitrogen.
|
NOBELIUM
Nobelium.
|
OSMIUM
Osmium.
|
OXYGEN
Oxygen.
|
PALLADIUM
Palladium.
|
PHOSPHORUS
Phosphorus.
|
PLATINUM
Platinum.
|
PLUTONIUM
Plutonium.
|
POLONIUM
Polonium.
|
POTASSIUM
Potassium.
|
PRASEODYMIUM
Praseodymium.
|
PROMETHIUM
Promethium.
|
PROTACTINIUM
Protactinium.
|
RADIUM
Radium.
|
RADON
Radon.
|
RHENIUM
Rhenium.
|
RHODIUM
Rhodium.
|
RÖNTGENIUM
Röntgenium.
|
RUBIDIUM
Rubidium.
|
RUTHENIUM
Ruthenium.
|
RUTHERFORDIUM
Rutherfordium.
|
SAMARIUM
Samarium.
|
SCANDIUM
Scandium.
|
SEABORGIUM
Seaborgium.
|
SELENIUM
Selenium.
|
SILICON
Silicon.
|
SILVER
Silver.
|
SODIUM
Sodium.
|
STRONTIUM
Strontium.
|
SULFUR
Sulfur.
|
TANTALUM
Tantalum.
|
TECHNETIUM
Technetium.
|
TELLURIUM
Tellurium.
|
TERBIUM
Terbium.
|
THALLIUM
Thallium.
|
THORIUM
Thorium.
|
THULIUM
Thulium.
|
TIN
Tin.
|
TITANIUM
Titanium.
|
TUNGSTEN
Tungsten.
|
URANIUM
Uranium.
|
VANADIUM
Vanadium.
|
XENON
Xenon.
|
YTTERBIUM
Ytterbium.
|
YTTRIUM
Yttrium.
|
ZINC
Zinc.
|
ZIRCONIUM
Zirconium.
|
Modifier and Type | Method and Description |
---|---|
int |
getAtomicNumber()
Gets the atomic number.
|
double |
getAtomicWeight()
Gets the atomic weight of this Element.
|
Serializable |
getCode()
Gets the code of this Element.
|
CodeDescription |
getCodeDescription(Locale locale)
Gets the CodeDescription of this Element.
|
static List<CodeDescription> |
getCodeDescriptions(Locale locale)
Gets a List of
CodeDescription objects for all the Elements. |
String |
getDescription(Locale locale)
Gets the localized description of this Element.
|
static Element |
getElementByNumber(int number)
Gets the Element with the supplied (atom) number.
|
static Element |
getElementBySymbol(String symbol)
Gets the Element with the supplied symbol.
|
static String |
getEnumDescription(Locale locale)
Gets the description of this enumeration of Elements.
|
String |
getSymbol()
Gets the symbol of this Element.
|
static List<String> |
getSymbols()
Gets a list of all the symbols of all Elements.
|
static Element |
valueOf(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 ALUMINUM
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 CESIUM
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 RÖNTGENIUM
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 Element[] values()
for (Element c : Element.values()) System.out.println(c);
public static Element valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getAtomicNumber()
public String getSymbol()
public double getAtomicWeight()
public Serializable getCode()
getCode
in interface LocalizableEnumeration
public String getDescription(Locale locale)
getDescription
in interface Localizable
getDescription
in interface LocalizableEnumeration
locale
- Locale used to localize the description.
public CodeDescription getCodeDescription(Locale locale)
getCodeDescription
in interface LocalizableEnumeration
locale
- Locale used to localize the description.
public static String getEnumDescription(Locale locale)
locale
- Locale used to localize the description.
CEnumeration.getDescription(Class, Locale)
public static List<CodeDescription> getCodeDescriptions(Locale locale)
CodeDescription
objects for all the Elements.locale
- Locale used to localize the descriptions.
CodeDescription
objects for all the Elements.CEnumeration.getCodeDescriptions(Class, Locale)
public static List<String> getSymbols()
public static Element getElementByNumber(int number)
number
- The number of the Element.
Element numbers are numbered from 1 and up.IllegalArgumentException
- When no Element with the supplied
number exists.public static Element getElementBySymbol(String symbol)
symbol
- The symbol of the Element.IllegalArgumentException
- When no Element with the supplied
symbol exists.Copyright © 2008–2018. All rights reserved.