|
|||||||||
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 | |
---|---|
int |
add(long newdata)
Adding words directly to the bitmap (for expert use). |
long |
addStreamOfDirtyWords(long[] data,
long start,
long number)
if you have several dirty words to copy over, this might be faster. |
int |
addStreamOfEmptyWords(boolean v,
long number)
For experts: You want to add many zeroes or ones? This is the method you use. |
long |
addStreamOfNegatedDirtyWords(long[] data,
long start,
long number)
Like "addStreamOfDirtyWords" but negates the words being added. |
void |
setSizeInBits(int bits)
directly set the sizeinbits field |
Method Detail |
---|
int add(long newdata)
newdata
- the word
int addStreamOfEmptyWords(boolean v, long number)
v
- zeros or onesnumber
- how many to words add
long addStreamOfDirtyWords(long[] data, long start, long number)
data
- the dirty wordsstart
- the starting point in the arraynumber
- the number of dirty words to add
long addStreamOfNegatedDirtyWords(long[] data, long start, long number)
data
- the dirty wordsstart
- the starting point in the arraynumber
- the number of dirty words to add
void setSizeInBits(int bits)
bits
- number of bits
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |