Class AminoAcidState

java.lang.Object
jebl.evolution.sequences.State
jebl.evolution.sequences.AminoAcidState
All Implemented Interfaces:
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 Details

    • compareTo

      public int compareTo(Object o)
      Specified by:
      compareTo in interface Comparable
      Overrides:
      compareTo in class State
    • getThreeLetterName

      public 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()
    • getType

      public SequenceType getType()
      Specified by:
      getType in class State