com.compomics.util.experiment.biology
Class ElementaryElement

java.lang.Object
  extended by com.compomics.util.experiment.biology.ElementaryElement

public class ElementaryElement
extends Object

This class can be used to retrieve elementary elements like a proton.

Author:
Marc Vaudel

Field Summary
static ElementaryElement neutron
          A proton.
 
Method Summary
 double getMass()
          Returns the mass of the element.
 String getName()
          Returns the name of the element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

neutron

public static final ElementaryElement neutron
A proton.

Method Detail

getName

public String getName()
Returns the name of the element.

Returns:
the name of the element

getMass

public double getMass()
Returns the mass of the element.

Returns:
the mass of the element


Copyright © 2013. All Rights Reserved.