public class HintedBsearchSelect extends Object implements Select
Instances of this class perform selection
using a hinted binary search over an underlying Rank9 instance. We use
12.5% additional space for a small inventory.
| Constructor and Description |
|---|
HintedBsearchSelect(Rank9 rank9) |
| 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 HintedBsearchSelect(Rank9 rank9)
public long select(long rank)
Selectpublic long numBits()
SelectnumBits in interface Select