<init>

Platform and version requirements: Native (1.3)
BitSet(length: Int, initializer: (Int) -> Boolean)

Creates a bit set of given length filling elements using initializer

Platform and version requirements: Native (1.3)
BitSet(size: Int = ELEMENT_SIZE)

creates an empty bit set with the specified size

Parameters

size - the size of one element in the array used to store bits.

Constructor creates an empty bit set with the specified size

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native/-bit-set/-init-.html