|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchemaxon.struc.PeriodicSystem
public class PeriodicSystem
Periodic System of the Elements. Provides basic information of the chemical elements and their isotopes.
Information on the elements are stored at element.zip. By default this file is located at the chemaxon directory but it can be overwritten by a file having the same name at user_home/chemaxon directory.
Information on the elements are stored at isotopes.data. By default this file is located at the chemaxon directory but it can be overwritten by a file having the same name at user_home/chemaxon directory.
API usage example:
int elementCount = PeriodicSystem.getElementCount(); // number of elements in the periodic system int isotopeCount = PeriodicSystem.getIsotopeCount(); // number of isotopes in the periodic system String symbol = PeriodicSystem.getSymbol(6); // element symbol of the 6th element String name = PeriodicSystem.getName(6); // element name of the 6th element int atomicNumber = PeriodicSystem.getAtomicNumber("C"); // atomic number of carbon double mass = PeriodicSystem.getMass(6); // elemental mass (weight) of an element int precision = PeriodicSystem.getMassPrecision(6); // precision of a certain the elemental mass (weight) int isotopes = PeriodicSystem.getIsotopeCount(6); // number of isotopes of carbon int mainIsotope = PeriodicSystem.getMostFrequentNaturalIsotope(6); // the most frequent natural isotope of carbon double isotopeMass = PeriodicSystem.getMass(6, 14); // isotopic mass (weight) of carbon 14 int isotopePrecision = PeriodicSystem.getMassPrecision(6, 14); // precision of a certain isotopic mass (weight) int deuterium = PeriodicSystem.getAtomicNumber("D"); // atomic number of Deuterium
Field Summary | |
---|---|
static int |
Ac
|
static int |
Ag
|
static int |
Al
|
static int |
Am
|
static int |
Ar
|
static int |
As
|
static int |
At
|
static int |
Au
|
static int |
B
|
static int |
Ba
|
static int |
Be
|
static int |
Bh
|
static int |
Bi
|
static int |
Bk
|
static int |
Br
|
static int |
C
|
static int |
Ca
|
static int |
Cd
|
static int |
Ce
|
static int |
Cf
|
static int |
Cl
|
static int |
Cm
|
static int |
Co
|
static int |
Cr
|
static int |
Cs
|
static int |
Cu
|
static int |
Db
|
static int |
Ds
|
static int |
Dy
|
static int |
Er
|
static int |
Es
|
static int |
Eu
|
static int |
F
|
static int |
Fe
|
static int |
Fm
|
static int |
Fr
|
static int |
Ga
|
static int |
Gd
|
static int |
Ge
|
static int |
H
|
static int |
He
|
static int |
Hf
|
static int |
Hg
|
static int |
Ho
|
static int |
Hs
|
static int |
I
|
static int |
In
|
static int |
Ir
|
static int |
K
|
static int |
Kr
|
static int |
La
|
static int |
Li
|
static int |
Lr
|
static int |
Lu
|
static int |
Md
|
static int |
Mg
|
static int |
Mn
|
static int |
Mo
|
static int |
Mt
|
static int |
N
|
static int |
Na
|
static int |
Nb
|
static int |
Nd
|
static int |
Ne
|
static int |
Ni
|
static int |
No
|
static int |
Np
|
static int |
O
|
static int |
Os
|
static int |
P
|
static int |
Pa
|
static int |
Pb
|
static int |
Pd
|
static int |
Pm
|
static int |
Po
|
static int |
Pr
|
static int |
Pt
|
static int |
Pu
|
static int |
Ra
|
static int |
Rb
|
static int |
Re
|
static int |
Rf
|
static int |
Rg
|
static int |
Rh
|
static int |
Rn
|
static int |
Ru
|
static int |
S
|
static int |
Sb
|
static int |
Sc
|
static int |
Se
|
static int |
Sg
|
static int |
Si
|
static int |
Sm
|
static int |
Sn
|
static int |
Sr
|
static int |
Ta
|
static int |
Tb
|
static int |
Tc
|
static int |
Te
|
static int |
Th
|
static int |
Ti
|
static int |
Tl
|
static int |
Tm
|
static int |
U
|
static int |
V
|
static int |
W
|
static int |
Xe
|
static int |
Y
|
static int |
Yb
|
static int |
Zn
|
static int |
Zr
|
Constructor Summary | |
---|---|
PeriodicSystem()
|
Method Summary | |
---|---|
static int |
findAtomicNumber(java.lang.String symbol)
Returns the atomic number of the element in the periodic system specified by its symbol. |
static double |
getAbundance(int z,
int m)
Natural abundance of the isotope |
static int |
getAtomicNumber(java.lang.String symbol)
Deprecated. As of Marvin 5.9, replaced by a similar method which throws IllegalArgumentException in case of failure findAtomicNumber(String) . |
static double |
getAtomicRadius(int z)
Atomic radius of the element Angstroms. |
static int |
getColumn(int z)
The column or group of an element in the periodic system. |
static double |
getCovalentRadius(int z)
Covalent radius of the element in Angstroms. |
static double |
getCovalentRadius(int z,
int t)
Covalent radius of the element in specific bond type in Angstroms. |
static int |
getElementCount()
Number of elements in the periodic system |
static int |
getIsotope(int z,
int i)
Retrieves an isotope of the element |
static int |
getIsotopeCount()
Number of isotopes in the periodic system |
static int |
getIsotopeCount(int z)
Number of isotopes of the element |
static double |
getMass(int z)
Atomic weight of the element based on the natural abundance of its isotopes |
static double |
getMass(int z,
int m)
Atomic weight of an isotope |
static int |
getMassPrecision(int z)
The precision of an elemental mass is the number of measured digits after the decimal separator. |
static int |
getMassPrecision(int z,
int m)
The precision of an isotopic mass is the number of measured digits after the decimal separator. |
static int |
getMostFrequentNaturalIsotope(int z)
Returns the mass number of the most frequent natural isotope of the element |
static java.lang.String |
getName(int z)
Name of the element |
static int |
getRow(int z)
The row or or period of an element in the periodic system. |
static java.lang.String |
getSymbol(int z)
Symbol of the element |
static double |
getVanDerWaalsRadius(int z)
Van der Waals radius of the element in Angstroms. |
static boolean |
isActinideMetal(int z)
Checks if the given atom is an actinide metal Actinium is included. |
static boolean |
isAlkaliMetal(int z)
Checks if the given atom is an alkali (group I.) metal. |
static boolean |
isAlkalineEarthMetal(int z)
Checks if the given atom is an alkaline earth (group II.) metal. |
static boolean |
isAtomicSymbol(java.lang.String symbol)
Returns whether the given string corresponds to an atomic number of an element in the periodic system specified by its symbol. |
static boolean |
isHalogen(int z)
Checks if the given atom is a halogen. |
static boolean |
isLanthanideMetal(int z)
Checks if the given atom is a lanthanide metal Lanthanum is included. |
static boolean |
isMetal(int z)
Decides whether the element is a metal. |
static boolean |
isMetalloid(int z)
Checks if the given atom is a metalloid. |
static boolean |
isNobleGas(int z)
Checks if the given atom is a noble gas. |
static boolean |
isOtherMetal(int z)
Checks if the given atom is an "other metal", group IIIa-Va metal. |
static boolean |
isTransitionMetal(int z)
Checks if the given atom is a transition metal, IB-VIIIB. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int H
public static final int He
public static final int Li
public static final int Be
public static final int B
public static final int C
public static final int N
public static final int O
public static final int F
public static final int Ne
public static final int Na
public static final int Mg
public static final int Al
public static final int Si
public static final int P
public static final int S
public static final int Cl
public static final int Ar
public static final int K
public static final int Ca
public static final int Sc
public static final int Ti
public static final int V
public static final int Cr
public static final int Mn
public static final int Fe
public static final int Co
public static final int Ni
public static final int Cu
public static final int Zn
public static final int Ga
public static final int Ge
public static final int As
public static final int Se
public static final int Br
public static final int Kr
public static final int Rb
public static final int Sr
public static final int Y
public static final int Zr
public static final int Nb
public static final int Mo
public static final int Tc
public static final int Ru
public static final int Rh
public static final int Pd
public static final int Ag
public static final int Cd
public static final int In
public static final int Sn
public static final int Sb
public static final int Te
public static final int I
public static final int Xe
public static final int Cs
public static final int Ba
public static final int La
public static final int Ce
public static final int Pr
public static final int Nd
public static final int Pm
public static final int Sm
public static final int Eu
public static final int Gd
public static final int Tb
public static final int Dy
public static final int Ho
public static final int Er
public static final int Tm
public static final int Yb
public static final int Lu
public static final int Hf
public static final int Ta
public static final int W
public static final int Re
public static final int Os
public static final int Ir
public static final int Pt
public static final int Au
public static final int Hg
public static final int Tl
public static final int Pb
public static final int Bi
public static final int Po
public static final int At
public static final int Rn
public static final int Fr
public static final int Ra
public static final int Ac
public static final int Th
public static final int Pa
public static final int U
public static final int Np
public static final int Pu
public static final int Am
public static final int Cm
public static final int Bk
public static final int Cf
public static final int Es
public static final int Fm
public static final int Md
public static final int No
public static final int Lr
public static final int Rf
public static final int Db
public static final int Sg
public static final int Bh
public static final int Hs
public static final int Mt
public static final int Ds
public static final int Rg
Constructor Detail |
---|
public PeriodicSystem()
Method Detail |
---|
public static int getElementCount()
public static int getIsotopeCount()
public static int getIsotopeCount(int z)
z
- atomic number of the element (protons)
public static int getIsotope(int z, int i)
z
- atomic number of the element (protons)i
- index of the isotope (0 based)
public static java.lang.String getName(int z)
z
- atomic number (protons)
public static java.lang.String getSymbol(int z)
z
- atomic number (protons)
public static double getMass(int z)
z
- atomic number (protons)
public static double getMass(int z, int m)
z
- atomic number of the isotopem
- mass number of the isotope (0 for element mass)
public static int getMassPrecision(int z)
z
- atomic number (protons)
public static int getMassPrecision(int z, int m)
z
- atomic number (protons)m
- mass number of the isotope (0 for element mass)
public static double getAbundance(int z, int m)
z
- atomic number of the isotope (protons)m
- mass number of the isotope (protons + neutrons)
public static int getMostFrequentNaturalIsotope(int z)
z
- atomic number (protons)
public static int getAtomicNumber(java.lang.String symbol)
findAtomicNumber(String)
.
symbol
- atom symbol e.g. "C", "Br", "BR".
public static int findAtomicNumber(java.lang.String symbol) throws java.lang.IllegalArgumentException
symbol
- atom symbol e.g. "C", "Br", "BR".
java.lang.IllegalArgumentException
- if symbol
does not correspond to a chemical element in the periodic table.public static boolean isAtomicSymbol(java.lang.String symbol)
symbol
- atom symbol e.g. "C", "Br", "BR".
public static double getAtomicRadius(int z)
z
- atomic number (protons)
public static double getCovalentRadius(int z)
z
- atomic number (protons)
public static double getCovalentRadius(int z, int t)
z
- atomic number (protons)t
- bond type
public static double getVanDerWaalsRadius(int z)
z
- atomic number (protons)
public static int getColumn(int z)
z
- atomic number (protons)
public static int getRow(int z)
z
- atomic number (protons)
public static boolean isMetal(int z)
z
- atomic number (protons)
public static boolean isAlkaliMetal(int z)
z
- atomic number of the atom.
public static boolean isAlkalineEarthMetal(int z)
z
- atomic number of the atom.
public static boolean isOtherMetal(int z)
z
- atomic number of the atom.
public static boolean isTransitionMetal(int z)
z
- atomic number of the atom.
public static boolean isLanthanideMetal(int z)
z
- atomic number of the atom.
public static boolean isActinideMetal(int z)
z
- atomic number of the atom.
public static boolean isMetalloid(int z)
z
- atomic number of the atom.
public static boolean isHalogen(int z)
z
- atomic number of the atom.
public static boolean isNobleGas(int z)
z
- atomic number of the atom.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |