Class Interval

  • All Implemented Interfaces:
    Comparable

    public class Interval
    extends Object
    implements Comparable
    Quick and dirty interval class Describes a genomic interval and where in a file information for that interval can be obtained
    • Constructor Detail

      • Interval

        public Interval​(int start,
                        int end)
      • Interval

        public Interval​(int start,
                        int end,
                        Block block)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • overlaps

        public boolean overlaps​(Interval other)
        Returns:
        whether this interval overlaps the other.
      • getBlock

        public Block getBlock()
        Returns:
        The file block for this interval