public enum Element extends Enum<Element>
| Enum Constant and Description |
|---|
Ac |
Ag |
Al |
Am |
Ar |
As |
At |
Au |
B |
Ba |
Be |
Bi |
Bk |
Br |
C |
Ca |
Cd |
Ce |
Cf |
Cl |
Cm |
Co |
Cr |
Cs |
Cu |
D
Deuterium
|
Dy |
Er |
Es |
Eu |
F |
Fe |
Fm |
Fr |
Ga |
Gd |
Ge |
H |
He |
Hf |
Hg |
Ho |
I |
In |
Ir |
K |
Kr |
La |
Li |
Lr |
Lu |
Md |
Mg |
Mn |
Mo |
N |
Na |
Nb |
Nd |
Ne |
Ni |
No |
Np |
O |
Os |
P |
Pa |
Pb |
Pd |
Pm |
Po |
Pr |
Pt |
Pu |
R
R-group to represent generic groups that are sometimes present in MDL .sdf
files.
|
Ra |
Rb |
Re |
Rh |
Rn |
Ru |
S |
Sb |
Sc |
Se |
Si |
Sm |
Sn |
Sr |
T
Tritium
|
Ta |
Tb |
Tc |
Te |
Th |
Ti |
Tl |
Tm |
U |
V |
W |
Xe |
Y |
Yb |
Zn |
Zr |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getAllOxidationStates()
Returns a list of all oxidation states the element is found in.
|
float |
getAtomicMass()
Returns the atomic mass for this Element.
|
int |
getAtomicNumber()
Returns the atomic number of this Element.
|
int |
getCommonValence()
Returns the common valence for this Element.
|
int |
getCoreElectronCount()
Returns the number of core electrons for this Element.
|
float |
getCovalentRadius()
Returns the covalent radius of this Element.
|
static Element |
getElementFromHillIndex(int index)
Returns the Element that corresponds to the specified Hill Order.
|
ElementType |
getElementType()
Returns the Element Type for this Element.
|
int |
getHillOrder()
Returns the Hill Order of this Element.
|
int |
getMaximumCovalentValence()
Returns the maximum valence for this Element.
|
int |
getMaximumValence()
Returns the maximum valence for this Element.
|
int |
getMinimumValence()
Returns the minimum valence for this Element.
|
int |
getOxidationState()
Returns a typical oxidation state for this Element.
|
float |
getPaulingElectronegativity()
Returns the Pauling electronegativity for this Element.
|
int |
getPeriod()
Returns the period in the periodic table of this Element.
|
int |
getValenceElectronCount()
Returns the number of valence electrons for this Element.
|
float |
getVDWRadius()
Returns the van der Waals radius of this Element.
|
boolean |
isChalcogen()
Returns
true if Element is a chalcogen (O, S, Se, Te, Po). |
boolean |
isHalogen()
Returns
true if Element is a halogen (F, Cl, Br, I, At). |
boolean |
isHeavyAtom()
Returns
true is the Element is an not Hydrogen (or an
isotope of Hydrogen). |
boolean |
isHeteroAtom()
Returns
true if Element is not Hydrogen and not Carbon. |
boolean |
isHydrogen()
Returns
true if this Element is Hydrogen. |
boolean |
isMetal()
Returns
true if ElementType is a metal. |
boolean |
isMetalloid()
Returns
true if ElementType is a metalloid. |
boolean |
isNonMetal()
Returns
true if ElementType is a non-metal. |
static Element |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Element |
valueOfIgnoreCase(String elementSymbol)
Returns the Element that corresponds to the specified element symbol.
|
static Element[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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[] getAllOxidationStates()
public int getAtomicNumber()
public int getPeriod()
public int getHillOrder()
Edwin A. Hill, "On A System Of Indexing Chemical Literature; Adopted By The Classification Division Of The U. S. Patent Office". J. Am. Chem. Soc. 1900, 22(8), 478-494.
public float getVDWRadius()
public float getCovalentRadius()
public int getValenceElectronCount()
public int getMinimumValence()
public int getMaximumValence()
public int getCommonValence()
public int getMaximumCovalentValence()
public float getAtomicMass()
public int getCoreElectronCount()
public int getOxidationState()
public float getPaulingElectronegativity()
public ElementType getElementType()
public static Element valueOfIgnoreCase(String elementSymbol) throws IllegalArgumentException
elementSymbol - element symbol to specify Element.IllegalArgumentExceptionpublic boolean isHydrogen()
true if this Element is Hydrogen.
Note: Deuterium (D) and Tritium (T) will return
true to this method.
true if the Element is Hydrogen.public boolean isHeavyAtom()
true is the Element is an not Hydrogen (or an
isotope of Hydrogen).
This method is the exact opposite of isHydrogen().
true is Element is not Hydrogen.public boolean isHeteroAtom()
true if Element is not Hydrogen and not Carbon.true if Element is not Hydrogen and not Carbon.public boolean isMetal()
true if ElementType is a metal.true if ElementType is a metal.public boolean isMetalloid()
true if ElementType is a metalloid.true if ElementType is a metalloid.public boolean isNonMetal()
true if ElementType is a non-metal.true if ElementType is a non-metal.public boolean isHalogen()
true if Element is a halogen (F, Cl, Br, I, At).true if Element is a halogen.public boolean isChalcogen()
true if Element is a chalcogen (O, S, Se, Te, Po).true if Element is a chalcogen.public static Element getElementFromHillIndex(int index)
index - the Hill Order.getHillOrder()Copyright © 2000–2018 BioJava. All rights reserved.