public final class EWAHIterator extends Object
Constructor and Description |
---|
EWAHIterator(long[] a,
int sizeinwords)
Instantiates a new eWAH iterator.
|
Modifier and Type | Method and Description |
---|---|
long[] |
buffer()
Access to the array of words
|
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.
|
public EWAHIterator(long[] a, int sizeinwords)
a
- the array of wordssizeinwords
- the number of words that are significant in the array of wordspublic static EWAHIterator getEWAHIterator(EWAHCompressedBitmap bitmap)
bitmap
- public long[] buffer()
public int literalWords()
public boolean hasNext()
public RunningLengthWord next()
Copyright © 2016. All rights reserved.