|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.octet.model.BasicAtomicSystem
A default implementation of the AtomicSystem interface.
Isotopic masses and natural abundance distributions are quoted from:
de Laeter, J.R.; Boehlke, J.K.; de Bievre, P.; Hidaka, H.; Peiser, H.S.; Rosman, K.J.R.; Taylor, P.D.P. Atomic Weights of the Elements: Review 2000 (IUPAC Technical Report) Pure Appl. Chem. 2003, 75, 683-800.
| Method Summary | |
boolean |
containsAtomicSymbol(AtomicSymbol symbol)
Returns true if the specified AtomicSymbol is contained in this
collection, and false otherwise. |
int |
countAtomicSymbols()
Returns the number of AtomicSymbols contained in this collection. |
int |
countCoreElectrons(AtomicSymbol symbol)
Returns the number of core electrons held by neutral, isolated atoms represented by
symbol. |
Measurement |
getAtomicMass(IsotopicDistribution distribution)
Returns the mass, in unified atomic mass units (u), of a neutral atom in the ground nuclear and electronic state containing the specified IsotopicDistribution. |
Measurement |
getAtomicMass(Nucleus nucleus)
Returns the mass, in unified atomic mass units (u), of a neutral atom in the ground nuclear and electronic state containing the specified Nucleus. |
AtomicSymbol |
getAtomicSymbol(int index)
Returns the AtomicSymbol located at the specified zero-based index. |
AtomicSymbol |
getAtomicSymbol(java.lang.String symbol)
Returns the AtomicSymbol associated with the indicated
String. |
int |
getAtomicSymbolIndex(AtomicSymbol symbol)
Returns the zero-based index of the specified AtomicSymbol. |
int |
getGroup(AtomicSymbol symbol)
Returns the group number of the atom represented by
symbol |
static BasicAtomicSystem |
getInstance()
|
IsotopicDistribution |
getNaturalAbundance(AtomicSymbol symbol)
Returns the natural abundance distribution for an atom with the specified AtomicSymbol. |
Nucleus |
getNucleus(AtomicSymbol symbol,
int massNumber)
Returns the Nucleus defined by symbol and
massNumber. |
int |
getPeriod(AtomicSymbol symbol)
Returns the period of the atom represented by symbol. |
IsotopicDistribution |
getSingleIsotope(AtomicSymbol symbol,
int massNumber)
Returns the IsotopicDistribution containing the Nucleus
corresponding to symbol and massNumber. |
AtomicSymbolIterator |
iterateAtomicSymbols()
Returns an iterator over all AtomicSymbols in this collection. |
AtomicSymbol[] |
toAtomicSymbolArray()
Returns a copy of the AtomicSymbols contained in this collection as an array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public int countCoreElectrons(AtomicSymbol symbol)
AtomicSystem
symbol.
countCoreElectrons in interface AtomicSystemsymbol - the AtomicSymbol
symbolpublic Measurement getAtomicMass(IsotopicDistribution distribution)
AtomicSystemIsotopicDistribution.
getAtomicMass in interface AtomicSystemdistribution - the IsotopicDistribution of the ground-state, neutral atom
distributionpublic Measurement getAtomicMass(Nucleus nucleus)
AtomicSystemNucleus.
getAtomicMass in interface AtomicSystemnucleus - the nucleus of the ground-state, neutral atom
nucleuspublic int getGroup(AtomicSymbol symbol)
AtomicSystem
symbol
getGroup in interface AtomicSystemsymbol - the AtomicSymbol
symbol, which will be an integer between 1 and 18,
inclusivepublic IsotopicDistribution getNaturalAbundance(AtomicSymbol symbol)
AtomicSystemAtomicSymbol.
getNaturalAbundance in interface AtomicSystemsymbol - the AtomicSymbol for which to obtain a IsotopicDistribution
IsotopicDistribution corresponding to symbolpublic int getPeriod(AtomicSymbol symbol)
AtomicSystemsymbol.
getPeriod in interface AtomicSystemsymbol - the AtomicSymbol
symbol,
which will be an integer between 1 and 7, inclusive
public IsotopicDistribution getSingleIsotope(AtomicSymbol symbol,
int massNumber)
AtomicSystemIsotopicDistribution containing the Nucleus
corresponding to symbol and massNumber.
getSingleIsotope in interface AtomicSystemsymbol - the AtomicSymbol for which to obtain a single
IsotopicDistributionmassNumber - the mass number of the Nucleus that will be produced
IsotopicDistribution containing a single Nucleus
corresponding to symbol and massNumber
public Nucleus getNucleus(AtomicSymbol symbol,
int massNumber)
AtomicSystemNucleus defined by symbol and
massNumber.
getNucleus in interface AtomicSystemsymbol - the AtomicSymbol for which to obtain a
NucleusmassNumber - the mass number of the Nucleus to search for
Nucleus defined by symbol and
massNumberpublic AtomicSymbol getAtomicSymbol(java.lang.String symbol)
AtomicSystemAtomicSymbol associated with the indicated
String.
getAtomicSymbol in interface AtomicSystemsymbol - a one- or two-letter atomic symbol
symbolpublic boolean containsAtomicSymbol(AtomicSymbol symbol)
AtomicSymbolCollectiontrue if the specified AtomicSymbol is contained in this
collection, and false otherwise.
containsAtomicSymbol in interface AtomicSymbolCollectionsymbol - the AtomicSymbol
true if contained, false otherwisepublic int countAtomicSymbols()
AtomicSymbolCollectionAtomicSymbols contained in this collection.
countAtomicSymbols in interface AtomicSymbolCollectionpublic AtomicSymbol getAtomicSymbol(int index)
AtomicSymbolCollectionAtomicSymbol located at the specified zero-based index.
getAtomicSymbol in interface AtomicSymbolCollectionindex - the index
AtomicSymbol at index, or null
if the index is invalidpublic int getAtomicSymbolIndex(AtomicSymbol symbol)
AtomicSymbolCollectionAtomicSymbol.
getAtomicSymbolIndex in interface AtomicSymbolCollectionsymbol - the AtomicSymbol
symbolpublic AtomicSymbolIterator iterateAtomicSymbols()
AtomicSymbolCollectionAtomicSymbols in this collection.
iterateAtomicSymbols in interface AtomicSymbolCollectionAtomicSymbols in this collectionpublic AtomicSymbol[] toAtomicSymbolArray()
AtomicSymbolCollection
toAtomicSymbolArray in interface AtomicSymbolCollectionpublic static BasicAtomicSystem getInstance()
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||