- cardinality
reports the number of bits set to true. Running time is proportional to
compressed size (as reported
- or
Returns a new compressed bitmap containing the bitwise OR values of the provided
bitmaps. This is ty
- set
For internal use.
- and
Returns a new compressed bitmap containing the bitwise AND values of the
provided bitmaps. It may or
- <init>
Creates a bitmap with the specified java.nio.LongBuffer backend. The content of
the LongBuffer is di
- andNot
Returns a new compressed bitmap containing the bitwise AND NOT values of the
current bitmap with som
- intIterator
Iterator over the set bits (this is what most people will want to use to browse
the content if they
- serialize
Serialize. The current bitmap is not modified.
- sizeInBits
Returns the size in bits of the *uncompressed* bitmap represented by this
compressed bitmap. Initial
- xor
Returns a new compressed bitmap containing the bitwise XOR values of the
provided bitmaps. This is t
- addStreamOfEmptyWords
For experts: You want to add many zeroes or ones? This is the method you use.
Since this modifies th
- clear
Set the bit at position i to false. Though you can clear the bits in any order
(e.g., clear(100), cl