|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.javaewah.EWAHIterator
public final class EWAHIterator
The class EWAHIterator represents a special type of efficient iterator iterating over (uncompressed) words of bits. It is not meant for end users.
| Constructor Summary | |
|---|---|
EWAHIterator(EWAHCompressedBitmap a,
int sizeinwords)
Instantiates a new EWAH iterator. |
|
| Method Summary | |
|---|---|
long[] |
buffer()
Access to the array of words |
EWAHIterator |
clone()
|
static EWAHIterator |
getEWAHIterator(EWAHCompressedBitmap bitmap)
Allow expert developers to instantiate an EWAHIterator. |
boolean |
hasNext()
Checks for next. |
int |
literalWords()
Position of the literal words represented by this running length word. |
RunningLengthWord |
next()
Next running length word. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EWAHIterator(EWAHCompressedBitmap a,
int sizeinwords)
a - the array of wordssizeinwords - the number of words that are significant in the array of words| Method Detail |
|---|
public static EWAHIterator getEWAHIterator(EWAHCompressedBitmap bitmap)
bitmap - we want to iterate over
public long[] buffer()
public int literalWords()
public boolean hasNext()
public RunningLengthWord next()
public EWAHIterator clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||