Package htsjdk.tribble.index.interval
Class Interval
java.lang.Object
htsjdk.tribble.index.interval.Interval
- All Implemented Interfaces:
Comparable
Quick and dirty interval class
Describes a genomic interval and where in a file information for that
interval can be obtained
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Interval
public Interval(int start, int end) -
Interval
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable
-
toString
-
overlaps
- Returns:
- whether this interval overlaps the other.
-
getBlock
- Returns:
- The file block for this interval
-