Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

joelib.data
Class JOEIsotopeTable  view JOEIsotopeTable download JOEIsotopeTable.java

java.lang.Object
  extended byjoelib.data.JOEGlobalDataBase
      extended byjoelib.data.JOEIsotopeTable

public class JOEIsotopeTable
extends JOEGlobalDataBase

Isotope element table. The definition file can be defined in the joelib.data.JOEIsotopeTable.resourceFile property in the wsi.ra.tool.PropertyHolder. The wsi.ra.tool.ResourceLoader loads the joelib.properties file for default.

Default:
joelib.data.JOEIsotopeTable.resourceFile=joelib/data/plain/isotope.txt


Field Summary
private  java.util.Vector _isotopes
          java.util.Vector of type joelib.util.types.DoubleInt to store isotope number and mass.
protected static java.lang.String DEFAULT_RESOURCE
           
private static JOEIsotopeTable isotopeTable
           
private static org.apache.log4j.Category logger
           
 
Fields inherited from class joelib.data.JOEGlobalDataBase
initialized, resourceFile
 
Constructor Summary
private JOEIsotopeTable()
          Constructor for the JOETypeTable object
 
Method Summary
 void finalize()
          Description of the Method
 double getExactMass(int atomicNum)
          Return the exact masss of the isotope.
 double getExactMass(int atomicNum, int isotope)
          Return the exact masss of the isotope.
static JOEIsotopeTable instance()
          Description of the Method
 void parseLine(java.lang.String buffer)
          Description of the Method
 
Methods inherited from class joelib.data.JOEGlobalDataBase
getLineCounter, init
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Category logger

isotopeTable

private static JOEIsotopeTable isotopeTable

DEFAULT_RESOURCE

protected static final java.lang.String DEFAULT_RESOURCE
See Also:
Constant Field Values

_isotopes

private java.util.Vector _isotopes
java.util.Vector of type joelib.util.types.DoubleInt to store isotope number and mass.

Constructor Detail

JOEIsotopeTable

private JOEIsotopeTable()
Constructor for the JOETypeTable object

Method Detail

finalize

public void finalize()
Description of the Method

Overrides:
finalize in class JOEGlobalDataBase

instance

public static JOEIsotopeTable instance()
Description of the Method


getExactMass

public double getExactMass(int atomicNum)
Return the exact masss of the isotope. (or by default, the most abundant isotope)


getExactMass

public double getExactMass(int atomicNum,
                           int isotope)
Return the exact masss of the isotope. (or by default, the most abundant isotope)


parseLine

public void parseLine(java.lang.String buffer)
Description of the Method

Specified by:
parseLine in class JOEGlobalDataBase