nonCoalescingSetOf

fun nonCoalescingSetOf(comparator: Comparator<SRange> = SeqRangeSort.by(SeqRangeSort.numberThenAlphaSort,leftEdge), ranges: List<SRange>): SRangeSet

Method takes a List and adds them to a sorted set. Overlapping intervals are NOT coalesced. User must supply a comparator - either their own or one defined in SeqRangeSort

return: Output is a Kotlin Immutable Set of SRanges


fun nonCoalescingSetOf(comparator: Comparator<SRange> = SeqRangeSort.by(SeqRangeSort.numberThenAlphaSort,leftEdge), vararg ranges: SRange): SRangeSet

Method takes a comma separated list of SRanges and adds them to a sorted set. Overlapping intervals are NOT coalesced. User must supply a comparator - either their own or one defined in SeqRangeSort

return: Output is a Kotlin Immutable Set of SRanges