Is the given locus contained in this set?
Number of loci on this contig.
Returns whether a given genomic region overlaps with any loci on this contig.
Is this contig empty?
Iterator through loci on this contig, sorted.
This set as a regular scala array of ranges.
Iterator over string representations of each range in the map, used to assemble (possibly truncated) .toString() output.
RangeSet is not Serializable, and we delegate work-around serialization logic to SerializableContig to avoid the requirement for a 0-arg constructor here.