final class ReverseEWAHIterator32
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
pointer
The pointer representing the location of the current running length word
in the array of words (embedded in the rlw attribute).
|
private java.util.Stack<java.lang.Integer> |
positions
The positions of running length words (embedded in the rlw attribute).
|
protected RunningLengthWord32 |
rlw
The current running length word.
|
Constructor and Description |
---|
ReverseEWAHIterator32(Buffer32 buffer)
Instantiates a new reverse EWAH iterator.
|
Modifier and Type | Method and Description |
---|---|
Buffer32 |
buffer()
Access to the buffer
|
boolean |
hasPrevious()
Checks for previous.
|
int |
position()
Position of the current running length word.
|
RunningLengthWord32 |
previous()
Previous running length word.
|
private java.util.Stack<java.lang.Integer> positions
private int pointer
protected RunningLengthWord32 rlw
public ReverseEWAHIterator32(Buffer32 buffer)
buffer
- the bufferpublic Buffer32 buffer()
public int position()
public boolean hasPrevious()
public RunningLengthWord32 previous()