com.compomics.util.general
Class IsotopicElement

java.lang.Object
  extended by 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
static Vector<IsotopicElement> getAllIsotopicElements(Class lClass, org.apache.log4j.Logger lLogger)
          Static method that gives all the isotopicElements from the isotopicElement.txt file
 int getDaltonDifference()
          Getter for the dalton difference with the natural form of this element
 MolecularElement getElement()
          Getter for the MolecularElement
 double getOccurrence()
          Getter for the occurrence of this element
 String toString()
          To string method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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 class
lLogger - A logger
Returns:
Vector

getElement

public MolecularElement 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

public String toString()
To string method

Overrides:
toString in class Object
Returns:
String


Copyright © 2012. All Rights Reserved.