get

abstract fun get(index: Int): Boolean

Returns the value of the bit with the specified index.

Return

true if the bit is set, false otherwise.

Parameters

index

index, should be non-negative and <.length. The result of passing negative or out of bounds values is undefined by this interface, just don't do it!