IntSegmentSet

Non-overlapping SegmentSet

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val maxMax: Int
Link copied to clipboard
val minMin: Int
Link copied to clipboard
val size: Int

Functions

Link copied to clipboard
fun add(min: Int, max: Int): IntSegmentSet
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun contains(v: Int): Boolean
Link copied to clipboard
Link copied to clipboard
inline fun fastForEach(block: (n: Int, min: Int, max: Int) -> Unit)
Link copied to clipboard
inline fun fastForEachInterestingRange(min: Int, max: Int, block: (n: Int, x1: Int, x2: Int) -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun intersection(min: Int, max: Int, out: (min: Int, max: Int) -> Unit): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String