|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavaewah.EWAHIterator
public final class EWAHIterator
The class EWAHIterator represents a special type of efficient iterator iterating over (uncompressed) words of bits.
Constructor Summary | |
---|---|
EWAHIterator(long[] a,
int sizeinwords)
Instantiates a new eWAH iterator. |
Method Summary | |
---|---|
long[] |
buffer()
Access to the array of words |
int |
dirtyWords()
Position of the dirty words represented by this running length word. |
boolean |
hasNext()
Checks for next. |
RunningLengthWord |
next()
Next running length word. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EWAHIterator(long[] a, int sizeinwords)
a
- the array of wordssizeinwords
- the number of words that are significant in the array of wordsMethod Detail |
---|
public boolean hasNext()
public RunningLengthWord next()
public int dirtyWords()
public long[] buffer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |