public static final class BitmapIndexImpl.CompressedBitmap extends java.lang.Object implements BitmapIndex.Bitmap
EWAHCompressedBitmap and PackBitmapIndex.
For a EWAHCompressedBitmap bitmap representing a vector of
bits, new CompressedBitmap(bitmap, bitmapIndex) represents the
objects at those positions in bitmapIndex.packIndex.
| Modifier and Type | Field and Description |
|---|---|
(package private) com.googlecode.javaewah.EWAHCompressedBitmap |
bitmap |
(package private) BitmapIndexImpl |
bitmapIndex |
| Constructor and Description |
|---|
CompressedBitmap(com.googlecode.javaewah.EWAHCompressedBitmap bitmap,
BitmapIndexImpl bitmapIndex)
Construct compressed bitmap for given bitmap and bitmap index
|
| Modifier and Type | Method and Description |
|---|---|
BitmapIndexImpl.CompressedBitmap |
andNot(BitmapIndex.Bitmap other)
Bitwise-AND-NOT the current bitmap with the value from the other
bitmap.
|
private com.googlecode.javaewah.EWAHCompressedBitmap |
ewahBitmap(BitmapIndex.Bitmap other) |
(package private) com.googlecode.javaewah.EWAHCompressedBitmap |
getEwahCompressedBitmap() |
java.util.Iterator<BitmapObject> |
iterator()
Returns an iterator over a set of elements of type BitmapObject.
|
private com.googlecode.javaewah.IntIterator |
ofObjectType(int type) |
BitmapIndexImpl.CompressedBitmap |
or(BitmapIndex.Bitmap other)
Bitwise-OR the current bitmap with the value from the other
bitmap.
|
BitmapIndexImpl.CompressedBitmap |
xor(BitmapIndex.Bitmap other)
Bitwise-XOR the current bitmap with the value from the other
bitmap.
|
final com.googlecode.javaewah.EWAHCompressedBitmap bitmap
final BitmapIndexImpl bitmapIndex
public CompressedBitmap(com.googlecode.javaewah.EWAHCompressedBitmap bitmap,
BitmapIndexImpl bitmapIndex)
bitmap - bitmapIndex - public BitmapIndexImpl.CompressedBitmap or(BitmapIndex.Bitmap other)
BitmapIndex.Bitmapor in interface BitmapIndex.Bitmapother - the other bitmappublic BitmapIndexImpl.CompressedBitmap andNot(BitmapIndex.Bitmap other)
BitmapIndex.BitmapandNot in interface BitmapIndex.Bitmapother - the other bitmappublic BitmapIndexImpl.CompressedBitmap xor(BitmapIndex.Bitmap other)
BitmapIndex.Bitmapxor in interface BitmapIndex.Bitmapother - the other bitmapprivate final com.googlecode.javaewah.IntIterator ofObjectType(int type)
public java.util.Iterator<BitmapObject> iterator()
BitmapIndex.BitmapIterator.next() for performance reasons.iterator in interface java.lang.Iterable<BitmapObject>iterator in interface BitmapIndex.Bitmapcom.googlecode.javaewah.EWAHCompressedBitmap getEwahCompressedBitmap()
private com.googlecode.javaewah.EWAHCompressedBitmap ewahBitmap(BitmapIndex.Bitmap other)