|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BitmapStorage
Low level bitset writing methods.
| Method Summary | |
|---|---|
void |
add(long newdata)
Adding words directly to the bitmap (for expert use). |
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 |
setSizeInBits(int bits)
directly set the sizeinbits field |
| Method Detail |
|---|
void add(long newdata)
newdata - the word
void addStreamOfLiteralWords(long[] data,
int start,
int number)
data - the literal wordsstart - the starting point in the arraynumber - the number of literal words to add
void addStreamOfEmptyWords(boolean v,
long number)
v - zeros or onesnumber - how many to words add
void 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 bits
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||