The Octet Molecular Representation Framework v0.8.2

net.sf.octet.model
Interface AtomicSymbol


public interface AtomicSymbol

A representation of the concept of an atomic symbol. To obtain a String representation, use toString:

 
 AtomicSymbol symbol = ...;
 
 System.out.println("Symbol is " + symbol);
 
  

Author:
Richard Apodaca

Method Summary
 int getAtomicNumber()
          Returns the atomic number of corresponding to this AtomicSymbol.
 java.lang.String toString()
          Returns a standard one- or two-letter atomic symbol.
 

Method Detail

getAtomicNumber

public int getAtomicNumber()
Returns the atomic number of corresponding to this AtomicSymbol.

Returns:
the atomic number of corresponding to this AtomicSymbol

toString

public java.lang.String toString()
Returns a standard one- or two-letter atomic symbol. For example: "C"; "N"; "Al"; "Fe".

Returns:
a standard one- or two-letter atomic symbol

The Octet Molecular Representation Framework v0.8.2