W3cubDocs

/Kotlin

clear

Platform and version requirements: Native (1.3)
fun clear(index: Int)
fun clear(range: IntRange)

Clears the bit specified

Platform and version requirements: Native (1.3)
fun clear(from: Int, to: Int)

Clears the bits with indices between from (inclusive) and to (exclusive) to the specified value.

Platform and version requirements: Native (1.3)
fun clear()

Sets all bits in the BitSet to false.

© 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/clear.html