kotlin-range-sets / com.github.jonpeterson.kotlin.ranges / CharRangeSet

CharRangeSet

class CharRangeSet : RangeSet<Char> (source)


Constructors

<init> CharRangeSet()
CharRangeSet(ranges: List<CharRange>)
CharRangeSet(vararg ranges: CharRange)

Inherited Properties

size open val size: Int

Functions

clone fun clone(): RangeSet<Char>
createRange fun createRange(start: Char, endInclusive: Char): CharRange
decrementValue fun decrementValue(value: Char): Char
incrementValue fun incrementValue(value: Char): Char

Inherited Functions

clear open fun clear(): Unit

Removes all values from the set.

equals open fun equals(other: Any?): Boolean
gaps fun gaps(): RangeSet<T>

Creates a new RangeSet containing missing values between the ranges of this set.

hashCode open fun hashCode(): Int
isEmpty open fun isEmpty(): Boolean
iterator open fun iterator(): MutableIterator<ClosedRange<T>>