public final class EWAHPointer32 extends java.lang.Object implements java.lang.Comparable<EWAHPointer32>
Modifier and Type | Field and Description |
---|---|
private boolean |
dead |
private int |
endrun |
private boolean |
isLiteral |
IteratingBufferedRunningLengthWord32 |
iterator
Underlying iterator
|
private int |
pos |
private boolean |
value |
Constructor and Description |
---|
EWAHPointer32(int previousEndRun,
IteratingBufferedRunningLengthWord32 rw,
int pos)
Construct a pointer over an IteratingBufferedRunningLengthWord.
|
Modifier and Type | Method and Description |
---|---|
int |
beginOfRun() |
void |
callbackUpdate(UpdateableBitmapFunction32 f) |
int |
compareTo(EWAHPointer32 other) |
int |
endOfRun() |
boolean |
hasNoData() |
void |
parseNextRun()
Process the next run
|
private int endrun
private final int pos
private boolean isLiteral
private boolean value
private boolean dead
public final IteratingBufferedRunningLengthWord32 iterator
public EWAHPointer32(int previousEndRun, IteratingBufferedRunningLengthWord32 rw, int pos)
previousEndRun
- word where the previous run endedrw
- the iteratorpos
- current position (in word)public int endOfRun()
public int beginOfRun()
public void parseNextRun()
public boolean hasNoData()
public void callbackUpdate(UpdateableBitmapFunction32 f)
f
- call the function with the current informationpublic int compareTo(EWAHPointer32 other)
compareTo
in interface java.lang.Comparable<EWAHPointer32>