Package jebl.evolution.sequences
Class NucleotideState
- java.lang.Object
-
- jebl.evolution.sequences.State
-
- jebl.evolution.sequences.NucleotideState
-
- All Implemented Interfaces:
java.lang.Comparable
public final class NucleotideState extends State
- Version:
- $Id: NucleotideState.java 924 2008-06-18 05:58:28Z matt_kearse $
- Author:
- Andrew Rambaut, Alexei Drummond
-
-
Field Summary
Fields Modifier and Type Field Description bytebitCode
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(java.lang.Object o)SequenceTypegetType()booleanisGap()booleanpossiblyEqual(State other)-
Methods inherited from class jebl.evolution.sequences.State
fractionEqual, getCanonicalStates, getCode, getFullName, getIndex, getName, isAmbiguous, toString
-
-
-
-
Method Detail
-
compareTo
public int compareTo(java.lang.Object o)
-
possiblyEqual
public boolean possiblyEqual(State other)
- Overrides:
possiblyEqualin classState- Parameters:
other- another state to check for the equality with.- Returns:
- true if the other state is or possibly is equal to this state, taking ambiguities into account, i.e. if the ambiguity sets of this and the other state intersect.
-
getType
public SequenceType getType()
-
-