BitSet

expect class BitSet

Cross-platform interface for a bitset.

actual class BitSet
actual class BitSet

Constructors

Link copied to clipboard
expect constructor()
actual constructor()
constructor(from: RoaringBitmap)
actual constructor()

Functions

Link copied to clipboard
expect fun and(other: BitSet)
actual fun and(other: BitSet)
actual fun and(other: BitSet)
Link copied to clipboard
expect fun andNot(other: BitSet)
actual fun andNot(other: BitSet)
actual fun andNot(other: BitSet)
Link copied to clipboard
expect fun clear()
expect fun clear(index: Int)
actual fun clear()
actual fun clear(index: Int)
actual fun clear()
actual fun clear(index: Int)
Link copied to clipboard
expect fun copy(): BitSet
actual fun copy(): BitSet
actual fun copy(): BitSet
Link copied to clipboard
expect fun flip(index: Int)
actual fun flip(index: Int)
actual fun flip(index: Int)
Link copied to clipboard
expect inline fun forEachBit(crossinline loop: (Int) -> Unit)
actual inline fun forEachBit(crossinline loop: (Int) -> Unit)
actual inline fun forEachBit(crossinline loop: (Int) -> Unit)
Link copied to clipboard
expect operator fun get(index: Int): Boolean
actual operator fun get(index: Int): Boolean
actual operator fun get(index: Int): Boolean
Link copied to clipboard
expect fun isEmpty(): Boolean
actual fun isEmpty(): Boolean
actual fun isEmpty(): Boolean
Link copied to clipboard
expect fun or(other: BitSet)
actual fun or(other: BitSet)
actual fun or(other: BitSet)
Link copied to clipboard
expect fun set(index: Int)
expect fun set(from: Int, to: Int)
actual fun set(index: Int)
actual fun set(from: Int, to: Int)
actual fun set(index: Int)
actual fun set(from: Int, to: Int)
Link copied to clipboard
expect fun xor(other: BitSet)
actual fun xor(other: BitSet)
actual fun xor(other: BitSet)

Properties

Link copied to clipboard
expect val cardinality: Int
actual val cardinality: Int
actual val cardinality: Int