public static final class BitmapIndexImpl.CompressedBitmap extends 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
.
Constructor and Description |
---|
BitmapIndexImpl.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.
|
Iterator<BitmapObject> |
iterator()
Returns an iterator over a set of elements of type BitmapObject.
|
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.
|
public BitmapIndexImpl.CompressedBitmap(com.googlecode.javaewah.EWAHCompressedBitmap bitmap, BitmapIndexImpl bitmapIndex)
bitmap
- bitmapIndex
- public BitmapIndexImpl.CompressedBitmap or(BitmapIndex.Bitmap other)
BitmapIndex.Bitmap
or
in interface BitmapIndex.Bitmap
other
- the other bitmappublic BitmapIndexImpl.CompressedBitmap andNot(BitmapIndex.Bitmap other)
BitmapIndex.Bitmap
andNot
in interface BitmapIndex.Bitmap
other
- the other bitmappublic BitmapIndexImpl.CompressedBitmap xor(BitmapIndex.Bitmap other)
BitmapIndex.Bitmap
xor
in interface BitmapIndex.Bitmap
other
- the other bitmappublic Iterator<BitmapObject> iterator()
BitmapIndex.Bitmap
Iterator.next()
for performance reasons.iterator
in interface Iterable<BitmapObject>
iterator
in interface BitmapIndex.Bitmap
Copyright © 2016 Eclipse JGit Project. All rights reserved.