Package jebl.evolution.sequences
Class AminoAcidState
- java.lang.Object
-
- jebl.evolution.sequences.State
-
- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(java.lang.Object o)
java.lang.String
getThreeLetterName()
SequenceType
getType()
boolean
isGap()
boolean
isStop()
-
Methods inherited from class jebl.evolution.sequences.State
fractionEqual, getCanonicalStates, getCode, getFullName, getIndex, getName, isAmbiguous, possiblyEqual, toString
-
-
-
-
Method Detail
-
compareTo
public int compareTo(java.lang.Object o)
-
getThreeLetterName
public java.lang.String getThreeLetterName()
- Returns:
- the 3 letter name for this amino acid. E.g "Ala" for "Alanine".
-
isStop
public boolean isStop()
-
getType
public SequenceType getType()
-
-