public class Select9 extends Object implements Select
select9 implementation.
select9 is based on an underlying rank9 instance
and uses 25%-37.5% additional space (beside the 25% due to rank9), depending on density. It guarantees practical
constant time evaluation.
| Modifier and Type | Method and Description |
|---|---|
BitVector |
bitVector()
Returns the bit vector indexed by this structure.
|
long |
numBits()
Returns the overall number of bits allocated by this structure.
|
long |
select(long rank)
Returns the position of the bit of given rank.
|
public Select9(Rank9 rank9)
public long select(long rank)
Selectpublic long numBits()
SelectnumBits in interface Select