Companion¶
object Companion
Functions¶
empty¶
fun empty(): MutableBitSet32
Creates an empty instance of MutableBitSet32.
full¶
fun full(): MutableBitSet32
Creates a full instance of MutableBitSet32, which contains all elements in 0..31.
of¶
fun of(vararg elements: Int): MutableBitSet32
Creates an instance of MutableBitSet32 that contains the given elements.
If elements contains duplicates, they will only be present once in the resulting set (since sets cannot contain duplicates).
Throws
IllegalArgumentException-
If an element is not in the range
0..31.