| Modifier and Type | Interface | Description |
|---|---|---|
interface |
RankedBitVector |
A ranked bit vector provides operations to compute:
rank (
RankedBitVector.countBits(boolean, long)): number of occurrences of a bit
at a certain position
select (RankedBitVector.findPosition(boolean, long)): position of the
n-th occurrence of a certain bit
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
BitVectorImpl |
Default implementation of
BitVector. |
class |
RankedBitVectorImpl |
Default implementation of
RankedBitVector. |
| Constructor | Description |
|---|---|
BitVectorImpl(BitVector bitVector) |
Copy constructor of a bit vector.
|
BitVectorIterator(BitVector bitVector) |
Constructs an iterator for a bit vector.
|
RankedBitVectorImpl(BitVector bitVector) |
Copy constructor of a ranked bit vector.
|
Copyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage