K3UnicodeSet

This class represents a UnicodeSet and allows to quickly test if a code point is contained in this uset.

The in-memory representation is a non-negated union of codepoint ranges.

Parameters

ranges

The ascendingly-sorted, non-overlapping list of code point ranges. All ranges must be a subset of the range [0x0, 0x10FFFF] and may not be empty. A range may also represent a single code point, in which case the range is equivalent to [codepoint, codepoint).

See also

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun contains(codePoint: Int): Boolean

Tests whether the given codePoint is contained within this UnicodeSet.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Returns a debug string of this UnicodeSet.