public interface IAdductFormula extends IMolecularFormulaSet
Examples:
[C2H4O2+Na]+
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones this IAdductFormula object and its content.
|
boolean |
contains(IIsotope isotope)
True, if the AdductFormula contains the given IIsotope object.
|
Integer |
getCharge()
Returns the partial charge of this Adduct.
|
int |
getIsotopeCount()
Checks a set of Nodes for the number of different isotopes in the
adduct formula.
|
int |
getIsotopeCount(IIsotope isotope)
Checks a set of Nodes for the occurrence of the isotope in the
adduct formula from a particular isotope.
|
Iterable<IIsotope> |
isotopes()
Returns an Iterator for looping over all isotopes in this adduct formula.
|
void |
setCharge(Integer charge)
Sets the partial charge of this adduct formula.
|
add, addMolecularFormula, contains, getMolecularFormula, molecularFormulas, removeAllMolecularFormulas, removeMolecularFormula, removeMolecularFormula, size
getBuilder
int getIsotopeCount(IIsotope isotope)
isotope
- The IIsotope to look forgetIsotopeCount()
int getIsotopeCount()
getIsotopeCount(IIsotope)
Iterable<IIsotope> isotopes()
Integer getCharge()
setCharge(java.lang.Integer)
boolean contains(IIsotope isotope)
isotope
- The IIsotope this AdductFormula is searched forvoid setCharge(Integer charge)
charge
- The partial chargegetCharge()
Object clone() throws CloneNotSupportedException
clone
in interface IMolecularFormulaSet
CloneNotSupportedException
Copyright © 2018. All Rights Reserved.