of

fun <T : Comparable<*>> of(vararg ranges: Range<T>): RangeSet<T>

Creates a RangeSet containing the provided ranges.

Parameters

ranges

ranges which are included in the RangeSet