|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.javaewah.BufferedIterator
public class BufferedIterator
This class can be used to iterate over blocks of bitmap data.
| Constructor Summary | |
|---|---|
BufferedIterator(CloneableIterator<EWAHIterator> iterator)
Instantiates a new iterating buffered running length word. |
|
| Method Summary | |
|---|---|
BufferedIterator |
clone()
|
void |
discardFirstWords(long x)
Discard first words, iterating to the next running length word if needed. |
long |
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. |
long |
getRunningLength()
Gets the running length. |
boolean |
next()
Move to the next RunningLengthWord |
long |
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 BufferedIterator(CloneableIterator<EWAHIterator> iterator)
iterator - iterator| Method Detail |
|---|
public void discardFirstWords(long x)
discardFirstWords in interface IteratingRLWx - the number of words to be discardedpublic boolean next()
next in interface IteratingRLWpublic long getLiteralWordAt(int index)
getLiteralWordAt in interface IteratingRLWindex - zero based index
public int getNumberOfLiteralWords()
getNumberOfLiteralWords in interface IteratingRLWpublic boolean getRunningBit()
getRunningBit in interface IteratingRLWpublic long getRunningLength()
getRunningLength in interface IteratingRLWpublic long size()
size in interface IteratingRLW
public BufferedIterator clone()
throws CloneNotSupportedException
clone in interface IteratingRLWclone in class ObjectCloneNotSupportedException - this should not be thrown in theory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||