Class Mutation

  • Direct Known Subclasses:
    PointMutation

    public class Mutation
    extends Object
    Mutation is a base class for different types of mutations. Currently the only Mutation type defined is a PointMutation, but in the future Insertion and Deletion objects may also be defined.
    Version:
    1.0
    Author:
    William A. Baumgartner, Jr.
    william.baumgartner@uchsc.edu
    • Method Detail

      • getPosition

        public int getPosition()
        Retrieves the mutation sequence position
        Returns:
        an int representing the position or start position of the mutation
      • warn

        protected void warn​(String message)
      • error

        protected void error​(String message)
      • equals

        public boolean equals​(Object obj)
        To be overridden by subclasses
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        To be overridden by subclasses
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        To be overridden by subclasses
        Overrides:
        toString in class Object