MultiBits

class MultiBits : Bits

Concatenates multiple Bits together, on every lookup.

NOTE: This is very costly, as every lookup must do a binary search to locate the right sub-reader.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun applyMask(bitSet: FixedBitSet, offset: Int)

Apply this Bits instance to the given FixedBitSet, which starts at the given offset.

Link copied to clipboard
open override fun get(index: Int): Boolean

Returns the value of the bit with the specified index.

Link copied to clipboard
open override fun length(): Int

Returns the number of bits in this set

Link copied to clipboard
open override fun toString(): String