public interface BitmapStorage
Modifier and Type | Method and Description |
---|---|
void |
addStreamOfEmptyWords(boolean v,
long number)
For experts: You want to add many zeroes or ones? This is the method
you use.
|
void |
addStreamOfLiteralWords(long[] data,
int start,
int number)
if you have several literal words to copy over, this might be faster.
|
void |
addStreamOfNegatedLiteralWords(long[] data,
int start,
int number)
Like "addStreamOfLiteralWords" but negates the words being added.
|
void |
addWord(long 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(long newData)
newData
- the wordvoid addStreamOfLiteralWords(long[] 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, long number)
v
- zeros or onesnumber
- how many to words addvoid addStreamOfNegatedLiteralWords(long[] 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.