Package com.compomics.util.general
Class IsotopicElement
java.lang.Object
com.compomics.util.general.IsotopicElement
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 TypeMethodDescriptionstatic Vector<IsotopicElement> getAllIsotopicElements(Class lClass, org.apache.logging.log4j.Logger lLogger) Static method that gives all the isotopicElements from the isotopicElement.txt fileintGetter for the dalton difference with the natural form of this elementGetter for the MolecularElementdoubleGetter for the occurrence of this elementtoString()To string method
-
Method Details
-
getAllIsotopicElements
public static Vector<IsotopicElement> getAllIsotopicElements(Class lClass, org.apache.logging.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
-