public interface BitmapStorage32
Modifier and Type | Method and Description |
---|---|
void |
addLiteralWord(int newData)
Adding literal words directly to the bitmap (for expert use).
|
void |
addStreamOfEmptyWords(boolean v,
int number)
For experts: You want to add many zeroes or ones? This is the method
you use.
|
void |
addStreamOfLiteralWords(com.googlecode.javaewah32.Buffer32 buffer,
int start,
int number)
if you have several literal words to copy over, this might be faster.
|
void |
addStreamOfNegatedLiteralWords(com.googlecode.javaewah32.Buffer32 buffer,
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 |
setSizeInBitsWithinLastWord(int size)
Sets the size in bits of the bitmap as an *uncompressed* bitmap.
|
void addWord(int newData)
newData
- the wordvoid addLiteralWord(int newData)
newData
- the wordvoid addStreamOfLiteralWords(com.googlecode.javaewah32.Buffer32 buffer, int start, int number)
buffer
- the buffer wrapping 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(com.googlecode.javaewah32.Buffer32 buffer, int start, int number)
buffer
- the buffer wrapping the literal wordsstart
- the starting point in the arraynumber
- the number of literal words to addvoid clear()
void setSizeInBitsWithinLastWord(int size)
size
- the size in bitsCopyright © 2016. All Rights Reserved.