|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.javaewah32.IteratorAggregation32
public class IteratorAggregation32
Set of helper functions to aggregate bitmaps.
Field Summary | |
---|---|
static int |
DEFAULTMAXBUFSIZE
An optimization option. |
Constructor Summary | |
---|---|
IteratorAggregation32()
|
Method Summary | |
---|---|
static IteratingRLW32 |
bufferedand(int bufsize,
IteratingRLW32... al)
Aggregate the iterators using a bitmap buffer. |
static IteratingRLW32 |
bufferedand(IteratingRLW32... al)
Aggregate the iterators using a bitmap buffer. |
static IteratingRLW32 |
bufferedor(int bufsize,
IteratingRLW32... al)
Aggregate the iterators using a bitmap buffer. |
static IteratingRLW32 |
bufferedor(IteratingRLW32... al)
Aggregate the iterators using a bitmap buffer. |
static IteratingRLW32 |
bufferedxor(int bufsize,
IteratingRLW32... al)
Aggregate the iterators using a bitmap buffer. |
static IteratingRLW32 |
bufferedxor(IteratingRLW32... al)
Aggregate the iterators using a bitmap buffer. |
protected static int |
discharge(BitmapStorage32 container,
IteratingRLW32 i,
int max)
Write out up to max words, returns how many were written |
protected static void |
dischargeAsEmpty(BitmapStorage32 container,
IteratingRLW32 i)
Write out the content of the iterator, but as if it were all zeros. |
protected static int |
dischargeNegated(BitmapStorage32 container,
IteratingRLW32 i,
int max)
Write out up to max negated words, returns how many were written |
protected static int |
inplaceand(int[] bitmap,
IteratingRLW32 i)
|
protected static int |
inplaceor(int[] bitmap,
IteratingRLW32 i)
|
protected static int |
inplacexor(int[] bitmap,
IteratingRLW32 i)
|
static IteratingRLW32 |
not(IteratingRLW32 x)
|
static void |
xorToContainer(BitmapStorage32 container,
int desiredrlwcount,
IteratingRLW32 rlwi,
IteratingRLW32 rlwj)
Compute the first few words of the XOR aggregate between two iterators. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULTMAXBUFSIZE
Constructor Detail |
---|
public IteratorAggregation32()
Method Detail |
---|
public static IteratingRLW32 not(IteratingRLW32 x)
x
- iterator to negate
public static IteratingRLW32 bufferedand(IteratingRLW32... al)
al
- iterators to aggregate
public static IteratingRLW32 bufferedand(int bufsize, IteratingRLW32... al)
al
- iterators to aggregatebufsize
- size of the internal buffer used by the iterator in
64-bit words
public static IteratingRLW32 bufferedor(IteratingRLW32... al)
al
- iterators to aggregate
public static IteratingRLW32 bufferedor(int bufsize, IteratingRLW32... al)
al
- iterators to aggregatebufsize
- size of the internal buffer used by the iterator in
64-bit words
public static IteratingRLW32 bufferedxor(IteratingRLW32... al)
al
- iterators to aggregate
public static IteratingRLW32 bufferedxor(int bufsize, IteratingRLW32... al)
al
- iterators to aggregatebufsize
- size of the internal buffer used by the iterator in
64-bit words
protected static void dischargeAsEmpty(BitmapStorage32 container, IteratingRLW32 i)
container
- where we writei
- the iteratorprotected static int discharge(BitmapStorage32 container, IteratingRLW32 i, int max)
container
- target for writesi
- source of datamax
- maximal number of writes
protected static int dischargeNegated(BitmapStorage32 container, IteratingRLW32 i, int max)
container
- target for writesi
- source of datamax
- maximal number of writes
public static void xorToContainer(BitmapStorage32 container, int desiredrlwcount, IteratingRLW32 rlwi, IteratingRLW32 rlwj)
container
- where to writedesiredrlwcount
- number of words to be written (max)rlwi
- first iterator to aggregaterlwj
- second iterator to aggregateprotected static int inplaceor(int[] bitmap, IteratingRLW32 i)
protected static int inplacexor(int[] bitmap, IteratingRLW32 i)
protected static int inplaceand(int[] bitmap, IteratingRLW32 i)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |