| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addLiteralWord(final int
the word newData)Implements com. Virtually add literal words directly to the bitmap |
| public void | addStreamOfEmptyWords(boolean
zeros or ones v, int how many to words add number)Implements com. virtually add many zeroes or ones. |
| public void | addStreamOfLiteralWords(Buffer32
the buffer wrapping the literal words buffer, int the starting point in the array start, int the number of literal words to add number)Implements com. virtually add several literal words. |
| public void | addStreamOfNegatedLiteralWords(Buffer32
the buffer wrapping the literal words buffer, int the starting point in the array start, int the number of literal words to add number)Implements com. virtually add several negated literal words. |
| public void | addWord(final int
the word newData)Implements com. Virtually add words directly to the bitmap |
| public void | |
| public int | Returns: number of set bitsAs you act on this class, it records the number of set (true) bits. |
| public void | setSizeInBitsWithinLastWord(int
the size in bits bits)Implements com. Sets the size in bits of the bitmap as an *uncompressed* bitmap. |
| oneBits | back to summary |
|---|---|
| private int oneBits | |
| BitCounter32 | back to summary |
|---|---|
| public BitCounter32() | |
| addLiteralWord | back to summary |
|---|---|
| public void addLiteralWord(final int newData) Implements com. Virtually add literal words directly to the bitmap
| |
| addStreamOfEmptyWords | back to summary |
|---|---|
| public void addStreamOfEmptyWords(boolean v, int number) Implements com. virtually add many zeroes or ones.
| |
| addStreamOfLiteralWords | back to summary |
|---|---|
| public void addStreamOfLiteralWords(Buffer32 buffer, int start, int number) Implements com. virtually add several literal words. | |
| addStreamOfNegatedLiteralWords | back to summary |
|---|---|
| public void addStreamOfNegatedLiteralWords(Buffer32 buffer, int start, int number) Implements com. virtually add several negated literal words. | |
| addWord | back to summary |
|---|---|
| public void addWord(final int newData) Implements com. Virtually add words directly to the bitmap
| |
| clear | back to summary |
|---|---|
| public void clear() Implements com. Doc from com. Empties the container.
| |
| getCount | back to summary |
|---|---|
| public int getCount() As you act on this class, it records the number of set (true) bits.
| |
| setSizeInBitsWithinLastWord | back to summary |
|---|---|
| public void setSizeInBitsWithinLastWord(int bits) Implements com. Doc from com. Sets the size in bits of the bitmap as an *uncompressed* bitmap. Normally, this is used to reduce the size of the bitmaps within the scope of the last word. Specifically, this means that (sizeInBits()+31)/32 must be equal to (size+31)/32. If needed, the bitmap can be further padded with zeroes.
| |