org.jscience.biology
Class AminoAcidFactory

java.lang.Object
  extended by org.jscience.biology.AminoAcidFactory

public final class AminoAcidFactory
extends java.lang.Object

This class provides access to amino acids.


Method Summary
static AminoAcid getAminoAcid(char symbol)
          DOCUMENT ME!
static AminoAcid getAminoAcid(java.lang.String name)
          Returns an amino acid.
static java.lang.String getName(char symbol)
          DOCUMENT ME!
static char getSymbol(java.lang.String name)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSymbol

public static char getSymbol(java.lang.String name)
DOCUMENT ME!

Parameters:
name - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getName

public static java.lang.String getName(char symbol)
DOCUMENT ME!

Parameters:
symbol - DOCUMENT ME!
Returns:
DOCUMENT ME!

getAminoAcid

public static AminoAcid getAminoAcid(char symbol)
DOCUMENT ME!

Parameters:
symbol - DOCUMENT ME!
Returns:
DOCUMENT ME!

getAminoAcid

public static AminoAcid getAminoAcid(java.lang.String name)
Returns an amino acid.

Parameters:
name - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!