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 |
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 setSizeInBits(int bits)
bits - number of bitsCopyright © 2015. All Rights Reserved.