Class EWAHPointer32
- java.lang.Object
-
- com.googlecode.javaewah32.symmetric.EWAHPointer32
-
- All Implemented Interfaces:
java.lang.Comparable<EWAHPointer32>
public final class EWAHPointer32 extends java.lang.Object implements java.lang.Comparable<EWAHPointer32>
Wrapper around an IteratingBufferedRunningLengthWord used by the RunningBitmapMerge class.- Since:
- 0.8.2
-
-
Constructor Summary
Constructors Constructor Description EWAHPointer32(int previousEndRun, IteratingBufferedRunningLengthWord32 rw, int pos)Construct a pointer over an IteratingBufferedRunningLengthWord.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intbeginOfRun()voidcallbackUpdate(UpdateableBitmapFunction32 f)intcompareTo(EWAHPointer32 other)intendOfRun()booleanhasNoData()voidparseNextRun()Process the next run
-
-
-
Field Detail
-
endrun
private int endrun
-
pos
private final int pos
-
isLiteral
private boolean isLiteral
-
value
private boolean value
-
dead
private boolean dead
-
iterator
public final IteratingBufferedRunningLengthWord32 iterator
Underlying iterator
-
-
Constructor Detail
-
EWAHPointer32
public EWAHPointer32(int previousEndRun, IteratingBufferedRunningLengthWord32 rw, int pos)Construct a pointer over an IteratingBufferedRunningLengthWord.- Parameters:
previousEndRun- word where the previous run endedrw- the iteratorpos- current position (in word)
-
-
Method Detail
-
endOfRun
public int endOfRun()
- Returns:
- the end of the current run
-
beginOfRun
public int beginOfRun()
- Returns:
- the beginning of the current run
-
parseNextRun
public void parseNextRun()
Process the next run
-
hasNoData
public boolean hasNoData()
- Returns:
- true if there is no more data
-
callbackUpdate
public void callbackUpdate(UpdateableBitmapFunction32 f)
- Parameters:
f- call the function with the current information
-
compareTo
public int compareTo(EWAHPointer32 other)
- Specified by:
compareToin interfacejava.lang.Comparable<EWAHPointer32>
-
-