Package com.compomics.util.general
Class IsotopicElement
java.lang.Object
com.compomics.util.general.IsotopicElement
public class IsotopicElement extends Object
This class represents the isotopically different element with the occurrence
and the dalton difference between this and the natural variant.
Created by IntelliJ IDEA.
User: Niklaas
Date: 16-Aug-2010
Time: 09:59:12
-
Method Summary
Modifier and Type Method Description static Vector<IsotopicElement>
getAllIsotopicElements(Class lClass, org.apache.log4j.Logger lLogger)
Static method that gives all the isotopicElements from the isotopicElement.txt fileint
getDaltonDifference()
Getter for the dalton difference with the natural form of this elementMolecularElement
getElement()
Getter for the MolecularElementdouble
getOccurrence()
Getter for the occurrence of this elementString
toString()
To string method
-
Method Details
-
getAllIsotopicElements
public static Vector<IsotopicElement> getAllIsotopicElements(Class lClass, org.apache.log4j.Logger lLogger)Static method that gives all the isotopicElements from the isotopicElement.txt file- Parameters:
lClass
- A classlLogger
- A logger- Returns:
- a Vector of IsotopicElement
-
getElement
Getter for the MolecularElement- Returns:
- MolecularElement
-
getDaltonDifference
public int getDaltonDifference()Getter for the dalton difference with the natural form of this element- Returns:
- int
-
getOccurrence
public double getOccurrence()Getter for the occurrence of this element- Returns:
- double
-
toString
To string method
-