| Modifier and Type | Method and Description |
|---|---|
| public void | addLiteralWord(final long
the word newData)Adding literal words directly to the bitmap (for expert use). |
| public void | addStreamOfEmptyWords(final boolean
zeros or ones v, final long how many to words add number)For experts: You want to add many zeroes or ones? |
| public void | addStreamOfLiteralWords(final Buffer
the buffer wrapping the literal words buffer, final int the starting point in the array start, final int the number of literal words to add number)if you have several literal words to copy over, this might be faster. |
| public void | addStreamOfNegatedLiteralWords(final Buffer
the buffer wrapping the literal words buffer, final int the starting point in the array start, final int the number of literal words to add number)Like "addStreamOfLiteralWords" but negates the words being added. |
| public void | |
| public void | |
| public void | setSizeInBitsWithinLastWord(final int
the size in bits size)Sets the size in bits of the bitmap as an *uncompressed* bitmap. |
| addLiteralWord | back to summary |
|---|---|
| public void addLiteralWord(final long newData) Adding literal words directly to the bitmap (for expert use).
| |
| addStreamOfEmptyWords | back to summary |
|---|---|
| public void addStreamOfEmptyWords(final boolean v, final long number) For experts: You want to add many zeroes or ones? This is the method you use.
| |
| addStreamOfLiteralWords | back to summary |
|---|---|
| public void addStreamOfLiteralWords(final Buffer buffer, final int start, final int number) if you have several literal words to copy over, this might be faster.
| |
| addStreamOfNegatedLiteralWords | back to summary |
|---|---|
| public void addStreamOfNegatedLiteralWords(final Buffer buffer, final int start, final int number) Like "addStreamOfLiteralWords" but negates the words being added.
| |
| addWord | back to summary |
|---|---|
| public void addWord(final long newData) Adding words directly to the bitmap (for expert use). This is normally how you add data to the array. So you add bits in streams of 8*8 bits.
| |
| clear | back to summary |
|---|---|
| public void clear() Empties the container. | |
| setSizeInBitsWithinLastWord | back to summary |
|---|---|
| public void setSizeInBitsWithinLastWord(final int size) 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()+63)/64 must be equal to (size +63)/64. If needed, the bitmap can be further padded with zeroes.
| |