public final class EWAHPointer extends Object implements Comparable<EWAHPointer>
Modifier and Type | Field and Description |
---|---|
IteratingBufferedRunningLengthWord |
iterator
Underlying iterator
|
Constructor and Description |
---|
EWAHPointer(int previousEndRun,
IteratingBufferedRunningLengthWord rw,
int pos)
Construct a pointer over an IteratingBufferedRunningLengthWord.
|
Modifier and Type | Method and Description |
---|---|
int |
beginOfRun() |
void |
callbackUpdate(UpdateableBitmapFunction f) |
int |
compareTo(EWAHPointer other) |
int |
endOfRun() |
boolean |
hasNoData() |
void |
parseNextRun()
Process the next run
|
public final IteratingBufferedRunningLengthWord iterator
public EWAHPointer(int previousEndRun, IteratingBufferedRunningLengthWord 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(UpdateableBitmapFunction f)
f
- call the function with the current informationpublic int compareTo(EWAHPointer other)
compareTo
in interface Comparable<EWAHPointer>
Copyright © 2015. All Rights Reserved.