-
- All Superinterfaces:
Iterable<BitmapObject>
- All Known Subinterfaces:
BitmapIndex.BitmapBuilder
- All Known Implementing Classes:
BitmapIndexImpl.CompressedBitmap
- Enclosing interface:
- BitmapIndex
public static interface BitmapIndex.Bitmap extends Iterable<BitmapObject>
A bitmap representation of ObjectIds that can be iterated to return the underlyingObjectIds or operated on with otherBitmaps.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BitmapIndex.BitmapandNot(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.BitmapIndex.Bitmapor(BitmapIndex.Bitmap other)Bitwise-OR the current bitmap with the value from the other bitmap.com.googlecode.javaewah.EWAHCompressedBitmapretrieveCompressed()Returns the corresponding raw compressed EWAH bitmap of the bitmap.BitmapIndex.Bitmapxor(BitmapIndex.Bitmap other)Bitwise-XOR the current bitmap with the value from the other bitmap.-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
or
BitmapIndex.Bitmap or(BitmapIndex.Bitmap other)
Bitwise-OR the current bitmap with the value from the other bitmap.- Parameters:
other- the other bitmap- Returns:
- a bitmap that is the bitwise-OR.
-
andNot
BitmapIndex.Bitmap andNot(BitmapIndex.Bitmap other)
Bitwise-AND-NOT the current bitmap with the value from the other bitmap.- Parameters:
other- the other bitmap- Returns:
- a bitmap that is the bitwise-AND-NOT.
-
xor
BitmapIndex.Bitmap xor(BitmapIndex.Bitmap other)
Bitwise-XOR the current bitmap with the value from the other bitmap.- Parameters:
other- the other bitmap- Returns:
- a bitmap that is the bitwise-XOR.
-
iterator
Iterator<BitmapObject> iterator()
Returns an iterator over a set of elements of type BitmapObject. The BitmapObject instance is reused across calls toIterator.next()for performance reasons.- Specified by:
iteratorin interfaceIterable<BitmapObject>- Returns:
- an Iterator.
-
retrieveCompressed
com.googlecode.javaewah.EWAHCompressedBitmap retrieveCompressed()
Returns the corresponding raw compressed EWAH bitmap of the bitmap.- Returns:
- the corresponding
EWAHCompressedBitmap - Since:
- 5.8
-
-