bitvector-jvm-0.1.4 / net.onedaybeard.bitvector / BitVector / length

length

fun length(): Int (source)

Returns the "logical size" of this bitset: the index of the highest set bit in the bitset plus one. Returns zero if the bitset contains no set bits.

Return
the logical size of this bitset