|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavaewah32.IteratingBufferedRunningLengthWord32
public class IteratingBufferedRunningLengthWord32
Mostly for internal use. Similar to BufferedRunningLengthWord32, but automatically advances to the next BufferedRunningLengthWord32 as words are discarded.
| Constructor Summary | |
|---|---|
IteratingBufferedRunningLengthWord32(EWAHIterator32 iterator)
Instantiates a new iterating buffered running length word. |
|
| Method Summary | |
|---|---|
void |
discardFirstWords(int x)
Discard first words, iterating to the next running length word if needed. |
void |
discharge(BitmapStorage32 container)
Write out the remaining words |
int |
getDirtyWordAt(int index)
Get the nth dirty word for the current running length word |
int |
getNumberOfLiteralWords()
Gets the number of literal words for the current running length word. |
boolean |
getRunningBit()
Gets the running bit. |
int |
getRunningLength()
Gets the running length. |
int |
size()
Size in uncompressed words of the current running length word. |
void |
writeDirtyWords(int numWords,
BitmapStorage32 container)
write the first N dirty words to the target bitmap. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IteratingBufferedRunningLengthWord32(EWAHIterator32 iterator)
iterator - iterator| Method Detail |
|---|
public void discardFirstWords(int x)
x - the xpublic void discharge(BitmapStorage32 container)
container - target for writespublic int getDirtyWordAt(int index)
index - zero based index
public int getNumberOfLiteralWords()
public boolean getRunningBit()
public int getRunningLength()
public int size()
public void writeDirtyWords(int numWords,
BitmapStorage32 container)
numWords - container -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||