|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.javaewah32.BufferedIterator32
public class BufferedIterator32
This class can be used to iterate over blocks of bitmap data.
Constructor Summary | |
---|---|
BufferedIterator32(CloneableIterator<EWAHIterator32> iterator)
Instantiates a new iterating buffered running length word. |
Method Summary | |
---|---|
BufferedIterator32 |
clone()
|
void |
discardFirstWords(int x)
Discard first words, iterating to the next running length word if needed. |
void |
discardRunningWords()
Discard all running words |
int |
getLiteralWordAt(int index)
Get the nth literal 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. |
boolean |
next()
Move to the next RunningLengthWord |
int |
size()
Size in uncompressed words of the current running length word. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BufferedIterator32(CloneableIterator<EWAHIterator32> iterator)
iterator
- iteratorMethod Detail |
---|
public void discardFirstWords(int x)
discardFirstWords
in interface IteratingRLW32
x
- the number of words to be discardedpublic void discardRunningWords()
IteratingRLW32
discardRunningWords
in interface IteratingRLW32
public boolean next()
next
in interface IteratingRLW32
public int getLiteralWordAt(int index)
getLiteralWordAt
in interface IteratingRLW32
index
- zero based index
public int getNumberOfLiteralWords()
getNumberOfLiteralWords
in interface IteratingRLW32
public boolean getRunningBit()
getRunningBit
in interface IteratingRLW32
public int getRunningLength()
getRunningLength
in interface IteratingRLW32
public int size()
size
in interface IteratingRLW32
public BufferedIterator32 clone() throws CloneNotSupportedException
clone
in interface IteratingRLW32
clone
in class Object
CloneNotSupportedException
- this should not be thrown in theory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |