|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A distribution of Nuclei. IsotopicDistribution extends
the NucleusCollection interface to enable the relative abundances
of Nuclei to be queried.
IsotopicDistribution restricts the NucleusCollection
contract by disallowing duplicate Nucleus objects as determined
by Object.equals and Nucleus objects of differing
atomic number.
Implementors can use any Measurement to indicate relative abundance, provided
that the results of all getAbundance queries are consistent.
All method invocations of IsotopicDistribution can be assumed to return the
same results over the lifetime of implementing objects. In other words, IsotopicDistribution
is an instance of the Immutable Pattern.
| Method Summary | |
Measurement |
getAbundance(Nucleus nucleus)
Returns the relative abundance of nucleus within this
IsotopicDistribution. |
AtomicSymbol |
getAtomicSymbol()
Returns the AtomicSymbol representing this IsotopicDistribution. |
Nucleus |
getMostAbundantNucleus()
Returns the most abundant Nucleus in this IsotopicDistribution. |
boolean |
isNaturalAbundance()
Returns true if this IsotopicDistribution represents natural
isotopic abundance, or false otherwise. |
| Methods inherited from interface net.sf.octet.collection.NucleusCollection |
containsNucleus, countNuclei, getNucleus, getNucleusIndex, iterateNuclei, toNucleusArray |
| Method Detail |
public Nucleus getMostAbundantNucleus()
Nucleus in this IsotopicDistribution.
Nucleus in this IsotopicDistributionpublic Measurement getAbundance(Nucleus nucleus)
nucleus within this
IsotopicDistribution.
nucleus - the Nucleus
nucleus within this
IsotopicDistribution, in arbitrary units
NoSuchNucleusException - if nucleus can not be foundpublic AtomicSymbol getAtomicSymbol()
AtomicSymbol representing this IsotopicDistribution.
AtomicSymbol representing this IsotopicDistributionpublic boolean isNaturalAbundance()
true if this IsotopicDistribution represents natural
isotopic abundance, or false otherwise.
true if this IsotopicDistribution represents natural
isotopic abundance, or false otherwise
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||