compareTo

open operator override fun compareTo(other: PositionRange): Int


fun compareTo(position: Position): Int

Compare this position range to a position.

Return

the value 0 if the position is within the range on the same contig; a value less than 0 if this position range is less than the position; and a value greater than 0 if this position range is greater than the position.