public abstract class UpdateableBitmapFunction32
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean[] |
b |
(package private) int |
hammingWeight |
(package private) int |
litWeight |
(package private) BitSet |
litwlist |
(package private) EWAHPointer32[] |
rw |
Constructor and Description |
---|
UpdateableBitmapFunction32() |
Modifier and Type | Method and Description |
---|---|
void |
clearLiteral(int pos) |
abstract void |
dispatch(BitmapStorage32 out,
int runBegin,
int runend)
Writes out the answer.
|
void |
fillWithLiterals(java.util.List<EWAHPointer32> container)
append to the list the literal words as EWAHPointer
|
java.lang.Iterable<EWAHPointer32> |
getLiterals()
Goes through the literals.
|
int |
getNumberOfLiterals() |
void |
resize(int newsize) |
void |
setLiteral(int pos) |
void |
setOne(int pos) |
void |
setZero(int pos) |
EWAHPointer32[] rw
int hammingWeight
int litWeight
boolean[] b
final BitSet litwlist
public final int getNumberOfLiterals()
public final java.lang.Iterable<EWAHPointer32> getLiterals()
public final void fillWithLiterals(java.util.List<EWAHPointer32> container)
container
- where we writepublic final void resize(int newsize)
newsize
- the number of inputspublic void setLiteral(int pos)
pos
- position of a literalpublic void clearLiteral(int pos)
pos
- position where a literal was removedpublic final void setZero(int pos)
pos
- position where a zero word was addedpublic final void setOne(int pos)
pos
- position were a 11...1 word was addedpublic abstract void dispatch(BitmapStorage32 out, int runBegin, int runend)
out
- output bufferrunBegin
- beginning of the runrunend
- end of the run