| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: the cardinality (number of set bits) corresponding to the iteratoriterator we wish to iterate over i)
|
| public static void | materialize(final IteratingRLW
iterator we wish to materialize i, final BitmapStorage where we write c)Generate a bitmap from an iterator. |
| public static long | Returns: how many words were actually materializediterator we wish to materialize i, final BitmapStorage where we write c, long maximum number of words we wish to materialize max)Turn an iterator into a bitmap. |
| public static EWAHCompressedBitmap | Returns: materialized version of the iteratoriterator we wish to materialize i)Turn an iterator into a bitmap. |
| public static IteratingRLW[] | Returns: an array of iterators corresponding to the array of bitmapsset of bitmaps x)
|
| public static IntIterator | Returns: an iterator over the set bits corresponding to the iteratoriterator we wish to iterate over i)
|
| public static Iterator | Returns: an iterator over the set bits corresponding to the iteratoriterator we wish to iterate over i)
|
| IteratorUtil | back to summary |
|---|---|
| private IteratorUtil() Private constructor to prevent instantiation | |
| cardinality | back to summary |
|---|---|
public static int cardinality(final IteratingRLW i)
| |
| materialize | back to summary |
|---|---|
| public static void materialize(final IteratingRLW i, final BitmapStorage c) Generate a bitmap from an iterator.
| |
| materialize | back to summary |
|---|---|
| public static long materialize(final IteratingRLW i, final BitmapStorage c, long max) Turn an iterator into a bitmap.
| |
| materialize | back to summary |
|---|---|
| public static EWAHCompressedBitmap materialize(final IteratingRLW i) Turn an iterator into a bitmap.
This can be used to effectively clone a bitmap in the following
manner:
| |
| toIterators | back to summary |
|---|---|
public static IteratingRLW[] toIterators(final EWAHCompressedBitmap... x)
| |
| toSetBitsIntIterator | back to summary |
|---|---|
public static IntIterator toSetBitsIntIterator(final IteratingRLW i)
| |
| toSetBitsIterator | back to summary |
|---|---|
public static Iterator
| |