public final class EWAHIterator32
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private int |
pointer
The pointer represent the location of the current running length word
in the array of words (embedded in the rlw attribute).
|
(package private) RunningLengthWord32 |
rlw
The current running length word.
|
private int |
size
The size in words.
|
Modifier | Constructor and Description |
---|---|
|
EWAHIterator32(Buffer32 buffer)
Instantiates a new eWAH iterator.
|
private |
EWAHIterator32(int pointer,
RunningLengthWord32 rlw,
int size) |
Modifier and Type | Method and Description |
---|---|
Buffer32 |
buffer()
Access to the buffer
|
EWAHIterator32 |
clone() |
static EWAHIterator32 |
getEWAHIterator(EWAHCompressedBitmap32 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.
|
RunningLengthWord32 |
next()
Next running length word.
|
private int pointer
final RunningLengthWord32 rlw
private final int size
public EWAHIterator32(Buffer32 buffer)
buffer
- the bufferprivate EWAHIterator32(int pointer, RunningLengthWord32 rlw, int size)
public static EWAHIterator32 getEWAHIterator(EWAHCompressedBitmap32 bitmap)
bitmap
- we want to iterate overpublic Buffer32 buffer()
public int literalWords()
public boolean hasNext()
public RunningLengthWord32 next()
public EWAHIterator32 clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException