Class BasePackBitmapIndex.StoredBitmap
- java.lang.Object
-
- org.eclipse.jgit.lib.AnyObjectId
-
- org.eclipse.jgit.lib.ObjectId
-
- org.eclipse.jgit.lib.ObjectIdOwnerMap.Entry
-
- org.eclipse.jgit.internal.storage.file.BasePackBitmapIndex.StoredBitmap
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AnyObjectId>
- Enclosing class:
- BasePackBitmapIndex
static final class BasePackBitmapIndex.StoredBitmap extends ObjectIdOwnerMap.Entry
Data representation of the bitmap entry restored from a pack index. The commit of the bitmap is the map key.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
bitmapContainer
private int
flags
-
Constructor Summary
Constructors Constructor Description StoredBitmap(AnyObjectId objectId, com.googlecode.javaewah.EWAHCompressedBitmap bitmap, BasePackBitmapIndex.StoredBitmap xorBitmap, int flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) com.googlecode.javaewah.EWAHCompressedBitmap
getBitmap()
Computes and returns the full bitmap.(package private) com.googlecode.javaewah.EWAHCompressedBitmap
getBitmapWithoutCaching()
Compute and return the full bitmap, do NOT cache the expanded bitmap, which saves memory and should only be used during bitmap creation in garbage collection.(package private) int
getFlags()
-
Methods inherited from class org.eclipse.jgit.lib.ObjectId
equals, fromRaw, fromRaw, fromRaw, fromRaw, fromString, fromString, isId, toObjectId, toString, zeroId
-
Methods inherited from class org.eclipse.jgit.lib.AnyObjectId
abbreviate, compareTo, compareTo, compareTo, copy, copyRawTo, copyRawTo, copyRawTo, copyRawTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, equals, equals, equals, getByte, getFirstByte, getName, hashCode, isEqual, name, startsWith, toString
-
-
-
-
Constructor Detail
-
StoredBitmap
StoredBitmap(AnyObjectId objectId, com.googlecode.javaewah.EWAHCompressedBitmap bitmap, BasePackBitmapIndex.StoredBitmap xorBitmap, int flags)
-
-
Method Detail
-
getBitmap
com.googlecode.javaewah.EWAHCompressedBitmap getBitmap()
Computes and returns the full bitmap.- Returns:
- the full bitmap
-
getBitmapWithoutCaching
com.googlecode.javaewah.EWAHCompressedBitmap getBitmapWithoutCaching()
Compute and return the full bitmap, do NOT cache the expanded bitmap, which saves memory and should only be used during bitmap creation in garbage collection.- Returns:
- the full bitmap
-
getFlags
int getFlags()
- Returns:
- the flags associated with the bitmap
-
-