jebl.evolution.sequences
Class AminoAcidState

java.lang.Object
  extended by jebl.evolution.sequences.State
      extended by jebl.evolution.sequences.AminoAcidState
All Implemented Interfaces:
java.lang.Comparable

public final class AminoAcidState
extends State

Version:
$Id: AminoAcidState.java 986 2009-03-10 01:00:03Z matt_kearse $
Author:
Andrew Rambaut, Alexei Drummond

Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.String getThreeLetterName()
           
 boolean isGap()
           
 boolean isStop()
           
 
Methods inherited from class jebl.evolution.sequences.State
fractionEqual, getCanonicalStates, getCode, getFullName, getIndex, getName, isAmbiguous, possiblyEqual, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable
Overrides:
compareTo in class State

getThreeLetterName

public java.lang.String getThreeLetterName()
Returns:
the 3 letter name for this amino acid. E.g "Ala" for "Alanine".

isGap

public boolean isGap()
Specified by:
isGap in class State

isStop

public boolean isStop()


http://code.google.com/p/jebl2/