Modifier and Type | Field and Description |
---|---|
protected int |
pointer
The pointer represent the location of the current running length word
in the array of words (embedded in the rlw attribute).
|
protected RunningLengthWord |
rlw
The current running length word.
|
protected int |
size
The size in words.
|
Constructor and Description |
---|
EWAHIterator(EWAHCompressedBitmap a,
int sizeInWords)
Instantiates a new EWAH iterator.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected int pointer
protected RunningLengthWord rlw
protected int size
public EWAHIterator(EWAHCompressedBitmap 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
- we want to iterate overpublic long[] buffer()
public int literalWords()
public boolean hasNext()
public RunningLengthWord next()
public EWAHIterator clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2014. All Rights Reserved.