Package org.openscience.cdk.config
Enum Class Elements
- All Implemented Interfaces:
Serializable,Comparable<Elements>,Constable
Enumeration of chemical elements. Data is taken from the Blue Obelisk Data
Repository, version 3. This enumeration is auto-generated with utilities
found in the 'cdk-build-utils' project.
- Author:
- egonw, john may
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Deprecated.Deprecated.Deprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementThese instances are for backards compatability.static final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementDeprecated.static final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElementstatic final IElement -
Method Summary
Modifier and TypeMethodDescriptionThe covalent radius, rcov, is a measure of the size of an atom that forms part of one covalent bond.Electronegativity, symbol χ, is a chemical property that describes the tendency of an atom or a functional group to attract electrons (or electron density) towards itself.intgroup()Return the group in the periodic table this element belongs to.static booleanisMetal(int atno) Utility method to determine if an atomic number is a metal.static booleanUtility method to determine if an atom is a metal.static booleanisMetalloid(int atno) Utility method to determine if an atomic number represents a metalloid element (B, Si, Ge, As, Sb, Te, or At).static booleanisMetalloid(IAtom atom) Utility method to determine if an atom is a metalloid (B, Si, Ge, As, Sb, Te, or At).intnumber()The atomic number of the element.static ElementsofNumber(int number) Obtain the element with the specified atomic number.static ElementsObtain the element with the specified symbol or name.intperiod()Return the period in the periodic table this element belongs to.symbol()The element symbol, C for carbon, N for nitrogen, Na for sodium, etc.Access anIElementinstance of the chemical element.static ElementsReturns the enum constant of this class with the specified name.static Elements[]values()Returns an array containing the constants of this enum class, in the order they are declared.The van der Waals radius, rw, of an atom is the radius of an imaginary hard sphere which can be used to model the atom.
-
Enum Constant Details
-
Unknown
-
Hydrogen
-
Helium
-
Lithium
-
Beryllium
-
Boron
-
Carbon
-
Nitrogen
-
Oxygen
-
Fluorine
-
Neon
-
Sodium
-
Magnesium
-
Aluminium
-
Silicon
-
Phosphorus
-
Sulfur
-
Chlorine
-
Argon
-
Potassium
-
Calcium
-
Scandium
-
Titanium
-
Vanadium
-
Chromium
-
Manganese
-
Iron
-
Cobalt
-
Nickel
-
Copper
-
Zinc
-
Gallium
-
Germanium
-
Arsenic
-
Selenium
-
Bromine
-
Krypton
-
Rubidium
-
Strontium
-
Yttrium
-
Zirconium
-
Niobium
-
Molybdenum
-
Technetium
-
Ruthenium
-
Rhodium
-
Palladium
-
Silver
-
Cadmium
-
Indium
-
Tin
-
Antimony
-
Tellurium
-
Iodine
-
Xenon
-
Caesium
-
Barium
-
Lanthanum
-
Cerium
-
Praseodymium
-
Neodymium
-
Promethium
-
Samarium
-
Europium
-
Gadolinium
-
Terbium
-
Dysprosium
-
Holmium
-
Erbium
-
Thulium
-
Ytterbium
-
Lutetium
-
Hafnium
-
Tantalum
-
Tungsten
-
Rhenium
-
Osmium
-
Iridium
-
Platinum
-
Gold
-
Mercury
-
Thallium
-
Lead
-
Bismuth
-
Polonium
-
Astatine
-
Radon
-
Francium
-
Radium
-
Actinium
-
Thorium
-
Protactinium
-
Uranium
-
Neptunium
-
Plutonium
-
Americium
-
Curium
-
Berkelium
-
Californium
-
Einsteinium
-
Fermium
-
Mendelevium
-
Nobelium
-
Lawrencium
-
Rutherfordium
-
Dubnium
-
Seaborgium
-
Bohrium
-
Hassium
-
Meitnerium
-
Darmstadtium
-
Roentgenium
-
Copernicium
-
Nihonium
-
Flerovium
-
Moscovium
-
Livermorium
-
Tennessine
-
Oganesson
-
Ununtrium
Deprecated. -
Ununpentium
Deprecated. -
Ununseptium
Deprecated. -
Ununoctium
Deprecated.
-
-
Field Details
-
DUMMY
These instances are for backards compatability. -
HYDROGEN
-
HELIUM
-
LITHIUM
-
BERYLLIUM
-
BORON
-
CARBON
-
NITROGEN
-
OXYGEN
-
FLUORINE
-
NEON
-
SODIUM
-
MAGNESIUM
-
ALUMINIUM
-
SILICON
-
PHOSPHORUS
-
SULFUR
-
CHLORINE
-
ARGON
-
POTASSIUM
-
CALCIUM
-
SCANDIUM
-
TITANIUM
-
VANADIUM
-
CHROMIUM
-
MANGANESE
-
IRON
-
COBALT
-
NICKEL
-
COPPER
-
ZINC
-
GALLIUM
-
GERMANIUM
-
ARSENIC
-
SELENIUM
-
BROMINE
-
KRYPTON
-
RUBIDIUM
-
STRONTIUM
-
YTTRIUM
-
ZIRCONIUM
-
NIOBIUM
-
MOLYBDENUM
-
TECHNETIUM
-
RUTHENIUM
-
RHODIUM
-
PALLADIUM
-
SILVER
-
CADMIUM
-
INDIUM
-
TIN
-
ANTIMONY
-
TELLURIUM
-
IODINE
-
XENON
-
CAESIUM
-
BARIUM
-
LANTHANUM
-
CERIUM
-
PRASEODYMIUM
-
NEODYMIUM
-
PROMETHIUM
-
SAMARIUM
-
EUROPIUM
-
GADOLINIUM
-
TERBIUM
-
DYSPROSIUM
-
HOLMIUM
-
ERBIUM
-
THULIUM
-
YTTERBIUM
-
LUTETIUM
-
HAFNIUM
-
TANTALUM
-
TUNGSTEN
-
RHENIUM
-
OSMIUM
-
IRIDIUM
-
PLATINUM
-
GOLD
-
MERCURY
-
THALLIUM
-
LEAD
-
BISMUTH
-
POLONIUM
-
ASTATINE
-
RADON
-
FRANCIUM
-
RADIUM
-
ACTINIUM
-
THORIUM
-
PROTACTINIUM
-
URANIUM
-
NEPTUNIUM
-
PLUTONIUM
-
AMERICIUM
-
CURIUM
-
BERKELIUM
-
CALIFORNIUM
-
EINSTEINIUM
-
FERMIUM
-
MENDELEVIUM
-
NOBELIUM
-
LAWRENCIUM
-
RUTHERFORDIUM
-
DUBNIUM
-
SEABORGIUM
-
BOHRIUM
-
HASSIUM
-
MEITNERIUM
-
DARMSTADTIUM
-
ROENTGENIUM
-
UNUNBIUM
-
UNUNTRIUM
-
UNUNQUADIUM
-
FLEROVIUM
-
UNUNPENTIUM
-
UNUNHEXIUM
-
LIVERMORIUM
-
PLUTOMNIUM
Deprecated.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
number
public int number()The atomic number of the element. AnUnknownelement has an atomic number of '0'.- Returns:
- 0 - 116
-
symbol
The element symbol, C for carbon, N for nitrogen, Na for sodium, etc. AnUnknownelement has no symbol.- Returns:
- the symbol
-
period
public int period()Return the period in the periodic table this element belongs to. If the element isUnknownit's period is 0.- Returns:
- a period in the periodic table
-
group
public int group()Return the group in the periodic table this element belongs to. If the element does not belong to a group then it's group is '0'.- Returns:
- a group in the periodic table
-
covalentRadius
The covalent radius, rcov, is a measure of the size of an atom that forms part of one covalent bond.- Returns:
- covalent radius - null if not available
- See Also:
-
vdwRadius
The van der Waals radius, rw, of an atom is the radius of an imaginary hard sphere which can be used to model the atom.- Returns:
- van der Waals radius - null if not available
- See Also:
-
electronegativity
Electronegativity, symbol χ, is a chemical property that describes the tendency of an atom or a functional group to attract electrons (or electron density) towards itself. This method provides access to the Pauling electronegativity value for a chemical element. If no value is available 'null' is returned.- Returns:
- Pauling electronegativity - null if not available
- See Also:
-
toIElement
Access anIElementinstance of the chemical element.- Returns:
- an instance
-
ofNumber
Obtain the element with the specified atomic number. If no element had the specified atomic number thenUnknownis returned.// carbon Elements e = Elements.ofNumber(6); // oxygen Elements e = Elements.ofNumber(8);- Parameters:
number- atomic number- Returns:
- an element, or
Unknown
-
ofString
Obtain the element with the specified symbol or name. If no element had the specified symbol or name thenUnknownis returned. The input is case-insensitive.// carbon Elements e = Elements.ofString("c"); Elements e = Elements.ofString("C"); Elements e = Elements.ofString("Carbon"); Elements e = Elements.ofString("carbon");- Parameters:
str- input string- Returns:
- an element, or
Unknown
-
isMetal
public static boolean isMetal(int atno) Utility method to determine if an atomic number is a metal.- Parameters:
atno- atomic number- Returns:
- the atomic number is a metal (or not)
-
isMetal
Utility method to determine if an atom is a metal.- Parameters:
atom- atom- Returns:
- the atom is a metal (or not)
-
isMetalloid
public static boolean isMetalloid(int atno) Utility method to determine if an atomic number represents a metalloid element (B, Si, Ge, As, Sb, Te, or At). All other atomic numbers (integers), including those smaller or equal to 0, will return false.- Parameters:
atno- atomic number- Returns:
- the atomic number is a metalloid (or not)
-
isMetalloid
Utility method to determine if an atom is a metalloid (B, Si, Ge, As, Sb, Te, or At). Also returns false should the atomic number of the given atom be null, zero, or negative.- Parameters:
atom- atom- Returns:
- the atom is a metalloid (or not)
-