Class BasePackBitmapIndex
java.lang.Object
org.eclipse.jgit.internal.storage.file.PackBitmapIndex
org.eclipse.jgit.internal.storage.file.BasePackBitmapIndex
- Direct Known Subclasses:
PackBitmapIndexBuilder, PackBitmapIndexV1
Base implementation of the PackBitmapIndex.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final classData representation of the bitmap entry restored from a pack index.private static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ObjectIdOwnerMap<BasePackBitmapIndex.StoredBitmap> Fields inherited from class PackBitmapIndex
FLAG_REUSE, packChecksum -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncom.googlecode.javaewah.EWAHCompressedBitmapgetBitmap(AnyObjectId objectId) Returns the previously constructed bitmap for the object.(package private) ObjectIdOwnerMap<BasePackBitmapIndex.StoredBitmap> Methods inherited from class PackBitmapIndex
findPosition, getBitmapCount, getObject, getObjectCount, ofObjectType, open, read
-
Field Details
-
bitmaps
-
-
Constructor Details
-
BasePackBitmapIndex
BasePackBitmapIndex(ObjectIdOwnerMap<BasePackBitmapIndex.StoredBitmap> bitmaps)
-
-
Method Details
-
getBitmap
Returns the previously constructed bitmap for the object.- Specified by:
getBitmapin classPackBitmapIndex- Parameters:
objectId- the id for which the bitmap will be found.- Returns:
- the bitmap or null if the object was not found.
-
getBitmaps
ObjectIdOwnerMap<BasePackBitmapIndex.StoredBitmap> getBitmaps()
-