public interface BitmapStorage32
Modifier and Type | Method and Description |
---|---|
void |
addStreamOfEmptyWords(boolean v,
int number)
For experts: You want to add many zeroes or ones? This is the method
you use.
|
void |
addStreamOfLiteralWords(int[] data,
int start,
int number)
if you have several literal words to copy over, this might be faster.
|
void |
addStreamOfNegatedLiteralWords(int[] data,
int start,
int number)
Like "addStreamOfLiteralWords" but negates the words being added.
|
void |
addWord(int newData)
Adding words directly to the bitmap (for expert use).
|
void |
clear()
Empties the container.
|
void |
setSizeInBits(int bits)
directly set the sizeInBits field
|
void addWord(int newData)
newData
- the wordvoid addStreamOfLiteralWords(int[] data, int start, int number)
data
- the literal wordsstart
- the starting point in the arraynumber
- the number of literal words to addvoid addStreamOfEmptyWords(boolean v, int number)
v
- zeros or onesnumber
- how many to words addvoid addStreamOfNegatedLiteralWords(int[] data, int start, int number)
data
- the literal wordsstart
- the starting point in the arraynumber
- the number of literal words to addvoid clear()
void setSizeInBits(int bits)
bits
- number of bitsCopyright © 2014. All Rights Reserved.