Class 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 Detail

      • bitCode

        public final byte bitCode
    • Method Detail

      • compareTo

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

        public boolean possiblyEqual​(State other)
        Overrides:
        possiblyEqual in class State
        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.
      • isGap

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