|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.javaewah32.IteratorUtil32
public class IteratorUtil32
Convenience functions for working over iterators
| Constructor Summary | |
|---|---|
IteratorUtil32()
|
|
| Method Summary | |
|---|---|
static int |
cardinality(IteratingRLW32 i)
|
static EWAHCompressedBitmap32 |
materialize(IteratingRLW32 i)
Turn an iterator into a bitmap |
static void |
materialize(IteratingRLW32 i,
BitmapStorage32 c)
Turn an iterator into a bitmap |
static long |
materialize(IteratingRLW32 i,
BitmapStorage32 c,
int Max)
Turn an iterator into a bitmap |
static IteratingRLW32[] |
toIterators(EWAHCompressedBitmap32... x)
|
static IntIterator |
toSetBitsIntIterator(IteratingRLW32 i)
|
static Iterator<Integer> |
toSetBitsIterator(IteratingRLW32 i)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IteratorUtil32()
| Method Detail |
|---|
public static IntIterator toSetBitsIntIterator(IteratingRLW32 i)
i - iterator we wish to iterate over
public static Iterator<Integer> toSetBitsIterator(IteratingRLW32 i)
i - iterator we wish to iterate over
public static void materialize(IteratingRLW32 i,
BitmapStorage32 c)
i - iterator we wish to materializec - where we writepublic static int cardinality(IteratingRLW32 i)
i - iterator we wish to iterate over
public static IteratingRLW32[] toIterators(EWAHCompressedBitmap32... x)
x - set of bitmaps we wish to iterate over
public static long materialize(IteratingRLW32 i,
BitmapStorage32 c,
int Max)
i - iterator we wish to materializec - where we writeMax - maximum number of words to materialize
public static EWAHCompressedBitmap32 materialize(IteratingRLW32 i)
i - iterator we wish to materialize
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||