Package org.eclipse.jgit.lib
Interface BitmapIndex.Bitmap
- All Superinterfaces:
Iterable<BitmapObject>
- All Known Subinterfaces:
BitmapIndex.BitmapBuilder
- All Known Implementing Classes:
BitmapIndexImpl.CompressedBitmap
,BitmapIndexImpl.CompressedBitmapBuilder
- Enclosing interface:
- BitmapIndex
A bitmap representation of ObjectIds that can be iterated to return the
underlying
ObjectId
s or operated on with other Bitmap
s.-
Method Summary
Modifier and TypeMethodDescriptionandNot
(BitmapIndex.Bitmap other) Bitwise-AND-NOT the current bitmap with the value from the other bitmap.iterator()
Returns an iterator over a set of elements of type BitmapObject.or
(BitmapIndex.Bitmap other) Bitwise-OR the current bitmap with the value from the other bitmap.com.googlecode.javaewah.EWAHCompressedBitmap
Returns the corresponding raw compressed EWAH bitmap of the bitmap.xor
(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 Details
-
or
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
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
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:
iterator
in 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
-