Constructor and Description |
---|
IsotopePattern()
Constructor of the IsotopePattern object.
|
Modifier and Type | Method and Description |
---|---|
void |
addIsotope(IsotopeContainer isoContainer)
Add an isotope object.
|
Object |
clone()
Clones this IsotopePattern object and its content.
|
double |
getCharge()
Get the charge in this pattern.
|
IsotopeContainer |
getIsotope(int position)
Returns the a isotopes given a specific position.
|
List<IsotopeContainer> |
getIsotopes()
Returns the all isotopes that form this isotope pattern.
|
IsotopeContainer |
getMonoIsotope()
Returns the mono-isotope peak that form this isotope pattern.
|
int |
getNumberOfIsotopes()
Returns the number of isotopes in this pattern.
|
void |
setCharge(double charge)
Set the charge in this pattern.
|
void |
setMonoIsotope(IsotopeContainer isoContainer)
Set the mono isotope object.
|
public void setMonoIsotope(IsotopeContainer isoContainer)
isoContainer
- The IsotopeContainer objectpublic void addIsotope(IsotopeContainer isoContainer)
isoContainer
- The IsotopeContainer objectpublic IsotopeContainer getMonoIsotope()
public List<IsotopeContainer> getIsotopes()
public IsotopeContainer getIsotope(int position)
position
- position of the isotope to returnpublic int getNumberOfIsotopes()
public void setCharge(double charge)
charge
- The charge valuepublic double getCharge()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2022. All rights reserved.