nextClearBit

fun nextClearBit(fromIndex: Int): Int

Returns the index of the first bit that is set to false that occurs on or after the specified starting index.

Return

the index of the next clear bit

Since

1.4

Parameters

fromIndex

the index to start checking from (inclusive)

Throws

if the specified index is negative