Top Description Inners Fields Constructors Methods
org.eclipse.jgit.internal.storage.file

public Class BitmapIndexImpl

extends Object
implements BitmapIndex
Class Inheritance
All Implemented Interfaces
org.eclipse.jgit.lib.BitmapIndex
Imports
java.text.MessageFormat, java.util.Iterator, .NoSuchElementException, org.eclipse.jgit.internal.JGitText, org.eclipse.jgit.lib.AnyObjectId, .BitmapIndex, .BitmapObject, .Constants, .ObjectId, .ObjectIdOwnerMap, org.eclipse.jgit.util.BlockList, com.googlecode.javaewah.EWAHCompressedBitmap, .IntIterator

A compressed bitmap representation of the entire object graph.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class
BitmapIndexImpl.ComboBitset

A bitset for representing small changes (set/remove individual bits) relative to an existing EWAH bitmap.

public static class
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
private static final int
pack-priv final int
private BitmapIndex.BitmapLookupListener
pack-priv final BitmapIndexImpl.MutableBitmapIndex
pack-priv final PackBitmapIndex

Constructor Summary

AccessConstructor and Description
public
BitmapIndexImpl(PackBitmapIndex
the bitmap index for the pack.
packIndex
)

Creates a BitmapIndex that is back by Compressed bitmaps.

Method Summary

Modifier and TypeMethod and Description
public void
addBitmapLookupListener(BitmapIndex.BitmapLookupListener
instance listening to lookup events in the index. Never null. Set to BitmapLookupListener#NOOP to disable.
l
)

Overrides default org.eclipse.jgit.lib.BitmapIndex.addBitmapLookupListener.

Report to this listener whether getBitmap(AnyObjectId) finds a commit.

pack-priv int
findOrInsert(AnyObjectId objectId, int type)

pack-priv int
public BitmapIndexImpl.CompressedBitmap
getBitmap(AnyObjectId
the object ID
objectId
)

Implements org.eclipse.jgit.lib.BitmapIndex.getBitmap.

Get the bitmap for the id. The returned bitmap is immutable and the bitwise operations return the result of the operation in a new Bitmap.

pack-priv PackBitmapIndex
public BitmapIndexImpl.CompressedBitmapBuilder
newBitmapBuilder()

Implements org.eclipse.jgit.lib.BitmapIndex.newBitmapBuilder.

Create a new BitmapBuilder based on the values in the index.

pack-priv static final EWAHCompressedBitmap
ones(int sizeInBits)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EXTRA_BITSback to summary
private static final int EXTRA_BITS
indexObjectCountback to summary
pack-priv final int indexObjectCount
listenerback to summary
private BitmapIndex.BitmapLookupListener listener
mutableIndexback to summary
pack-priv final BitmapIndexImpl.MutableBitmapIndex mutableIndex
packIndexback to summary
pack-priv final PackBitmapIndex packIndex

Constructor Detail

BitmapIndexImplback to summary
public BitmapIndexImpl(PackBitmapIndex packIndex)

Creates a BitmapIndex that is back by Compressed bitmaps.

Parameters
packIndex:PackBitmapIndex

the bitmap index for the pack.

Method Detail

addBitmapLookupListenerback to summary
public void addBitmapLookupListener(BitmapIndex.BitmapLookupListener l)

Overrides default org.eclipse.jgit.lib.BitmapIndex.addBitmapLookupListener.

Doc from org.eclipse.jgit.lib.BitmapIndex.addBitmapLookupListener.

Report to this listener whether getBitmap(AnyObjectId) finds a commit.

Parameters
l:BitmapIndex.BitmapLookupListener

instance listening to lookup events in the index. Never null. Set to BitmapLookupListener#NOOP to disable.

Annotations
@Override
findOrInsertback to summary
pack-priv int findOrInsert(AnyObjectId objectId, int type)
findPositionback to summary
pack-priv int findPosition(AnyObjectId objectId)
getBitmapback to summary
public BitmapIndexImpl.CompressedBitmap getBitmap(AnyObjectId objectId)

Implements org.eclipse.jgit.lib.BitmapIndex.getBitmap.

Doc from org.eclipse.jgit.lib.BitmapIndex.getBitmap.

Get the bitmap for the id. The returned bitmap is immutable and the bitwise operations return the result of the operation in a new Bitmap.

Parameters
objectId:AnyObjectId

the object ID

Returns:BitmapIndexImpl.CompressedBitmap

the Bitmap for the objectId or null, if one does not exist.

Annotations
@Override
getPackBitmapIndexback to summary
pack-priv PackBitmapIndex getPackBitmapIndex()
newBitmapBuilderback to summary
public BitmapIndexImpl.CompressedBitmapBuilder newBitmapBuilder()

Implements org.eclipse.jgit.lib.BitmapIndex.newBitmapBuilder.

Doc from org.eclipse.jgit.lib.BitmapIndex.newBitmapBuilder.

Create a new BitmapBuilder based on the values in the index.

Returns:BitmapIndexImpl.CompressedBitmapBuilder

a new BitmapBuilder based on the values in the index.

Annotations
@Override
onesback to summary
pack-priv static final EWAHCompressedBitmap ones(int sizeInBits)
org.eclipse.jgit.internal.storage.file back to summary

private final Class BitmapIndexImpl.BitmapObjectImpl

extends BitmapObject
Class Inheritance

Field Summary

Modifier and TypeField and Description
private ObjectId
private int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public ObjectId
getObjectId()

Implements abstract org.eclipse.jgit.lib.BitmapObject.getObjectId.

Get the name of this object.

public int
getType()

Implements abstract org.eclipse.jgit.lib.BitmapObject.getType.

Get Git object type.

Field Detail

objectIdback to summary
private ObjectId objectId
typeback to summary
private int type

Constructor Detail

BitmapObjectImplback to summary
private BitmapObjectImpl()

Method Detail

getObjectIdback to summary
public ObjectId getObjectId()

Implements abstract org.eclipse.jgit.lib.BitmapObject.getObjectId.

Doc from org.eclipse.jgit.lib.BitmapObject.getObjectId.

Get the name of this object.

Returns:ObjectId

unique hash of this object.

Annotations
@Override
getTypeback to summary
public int getType()

Implements abstract org.eclipse.jgit.lib.BitmapObject.getType.

Doc from org.eclipse.jgit.lib.BitmapObject.getType.

Get Git object type. See org.eclipse.jgit.lib.Constants.

Returns:int

object type

Annotations
@Override
org.eclipse.jgit.internal.storage.file back to summary

private final Class BitmapIndexImpl.ComboBitset

extends Object
Class Inheritance
  • java.lang.Object
  • org.eclipse.jgit.internal.storage.file.BitmapIndexImpl.ComboBitset

A bitset for representing small changes (set/remove individual bits) relative to an existing EWAH bitmap. Executing bit-vector operations will materialize the changes into a fresh EWAH bitmap

Field Summary

Modifier and TypeField and Description
private InflatingBitSet
private BitSet
private BitSet

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv EWAHCompressedBitmap
pack-priv boolean
contains(int position)

pack-priv void
pack-priv void
remove(int position)

pack-priv void
set(int position)

pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

inflatingBitmapback to summary
private InflatingBitSet inflatingBitmap
toAddback to summary
private BitSet toAdd
toRemoveback to summary
private BitSet toRemove

Constructor Detail

ComboBitsetback to summary
pack-priv ComboBitset()
ComboBitsetback to summary
pack-priv ComboBitset(EWAHCompressedBitmap bitmap)

Method Detail

andNotback to summary
pack-priv void andNot(EWAHCompressedBitmap inbits)
combineback to summary
pack-priv EWAHCompressedBitmap combine()
containsback to summary
pack-priv boolean contains(int position)
orback to summary
pack-priv void or(EWAHCompressedBitmap inbits)
removeback to summary
pack-priv void remove(int position)
setback to summary
pack-priv void set(int position)
xorback to summary
pack-priv void xor(EWAHCompressedBitmap inbits)
org.eclipse.jgit.internal.storage.file back to summary

public final Class BitmapIndexImpl.CompressedBitmap

extends Object
implements Bitmap
Class Inheritance
  • java.lang.Object
  • org.eclipse.jgit.internal.storage.file.BitmapIndexImpl.CompressedBitmap
All Implemented Interfaces
org.eclipse.jgit.lib.BitmapIndex.Bitmap, java.lang.Iterable

Wrapper for a 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.

Field Summary

Modifier and TypeField and Description
pack-priv final EWAHCompressedBitmap
pack-priv final BitmapIndexImpl

Constructor Summary

AccessConstructor and Description
public
CompressedBitmap(EWAHCompressedBitmap
the bitmap
bitmap
,
BitmapIndexImpl
the bitmap index
bitmapIndex
)

Construct compressed bitmap for given bitmap and bitmap index

Method Summary

Modifier and TypeMethod and Description
public BitmapIndexImpl.CompressedBitmap
andNot(BitmapIndex.Bitmap
the other bitmap
other
)

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.andNot.

Bitwise-AND-NOT the current bitmap with the value from the other bitmap.

private EWAHCompressedBitmap
public Iterator<BitmapObject>
iterator()

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.iterator.

Returns an iterator over a set of elements of type BitmapObject.

private final IntIterator
ofObjectType(int type)

public BitmapIndexImpl.CompressedBitmap
or(BitmapIndex.Bitmap
the other bitmap
other
)

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.or.

Bitwise-OR the current bitmap with the value from the other bitmap.

public EWAHCompressedBitmap
retrieveCompressed()

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.retrieveCompressed.

Returns the corresponding raw compressed EWAH bitmap of the bitmap.

public BitmapIndexImpl.CompressedBitmap
xor(BitmapIndex.Bitmap
the other bitmap
other
)

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.xor.

Bitwise-XOR the current bitmap with the value from the other bitmap.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bitmapback to summary
pack-priv final EWAHCompressedBitmap bitmap
bitmapIndexback to summary
pack-priv final BitmapIndexImpl bitmapIndex

Constructor Detail

CompressedBitmapback to summary
public CompressedBitmap(EWAHCompressedBitmap bitmap, BitmapIndexImpl bitmapIndex)

Construct compressed bitmap for given bitmap and bitmap index

Parameters
bitmap:EWAHCompressedBitmap

the bitmap

bitmapIndex:BitmapIndexImpl

the bitmap index

Method Detail

andNotback to summary
public BitmapIndexImpl.CompressedBitmap andNot(BitmapIndex.Bitmap other)

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.andNot.

Doc from org.eclipse.jgit.lib.BitmapIndex.Bitmap.andNot.

Bitwise-AND-NOT the current bitmap with the value from the other bitmap.

Parameters
other:BitmapIndex.Bitmap

the other bitmap

Returns:BitmapIndexImpl.CompressedBitmap

a bitmap that is the bitwise-AND-NOT.

Annotations
@Override
ewahBitmapback to summary
private EWAHCompressedBitmap ewahBitmap(BitmapIndex.Bitmap other)
iteratorback to summary
public Iterator<BitmapObject> iterator()

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.iterator.

Doc from org.eclipse.jgit.lib.BitmapIndex.Bitmap.iterator.

Returns an iterator over a set of elements of type BitmapObject. The BitmapObject instance is reused across calls to Iterator#next() for performance reasons.

Returns:Iterator<BitmapObject>

an Iterator.

Annotations
@Override
ofObjectTypeback to summary
private final IntIterator ofObjectType(int type)
orback to summary
public BitmapIndexImpl.CompressedBitmap or(BitmapIndex.Bitmap other)

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.or.

Doc from org.eclipse.jgit.lib.BitmapIndex.Bitmap.or.

Bitwise-OR the current bitmap with the value from the other bitmap.

Parameters
other:BitmapIndex.Bitmap

the other bitmap

Returns:BitmapIndexImpl.CompressedBitmap

a bitmap that is the bitwise-OR.

Annotations
@Override
retrieveCompressedback to summary
public EWAHCompressedBitmap retrieveCompressed()

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.retrieveCompressed.

Doc from org.eclipse.jgit.lib.BitmapIndex.Bitmap.retrieveCompressed.

Returns the corresponding raw compressed EWAH bitmap of the bitmap.

Returns:EWAHCompressedBitmap

the corresponding EWAHCompressedBitmap

Annotations
@Override
xorback to summary
public BitmapIndexImpl.CompressedBitmap xor(BitmapIndex.Bitmap other)

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.xor.

Doc from org.eclipse.jgit.lib.BitmapIndex.Bitmap.xor.

Bitwise-XOR the current bitmap with the value from the other bitmap.

Parameters
other:BitmapIndex.Bitmap

the other bitmap

Returns:BitmapIndexImpl.CompressedBitmap

a bitmap that is the bitwise-XOR.

Annotations
@Override
org.eclipse.jgit.internal.storage.file back to summary

private final Class BitmapIndexImpl.CompressedBitmapBuilder

extends Object
implements BitmapBuilder
Class Inheritance
  • java.lang.Object
  • org.eclipse.jgit.internal.storage.file.BitmapIndexImpl.CompressedBitmapBuilder
All Implemented Interfaces
org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder, org.eclipse.jgit.lib.BitmapIndex.Bitmap, java.lang.Iterable

Field Summary

Modifier and TypeField and Description
private final BitmapIndexImpl
private BitmapIndexImpl.ComboBitset

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public BitmapIndex.BitmapBuilder
addObject(AnyObjectId
the object ID
objectId
,
int
the Git object type. See Constants.
type
)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.addObject.

Adds the id to the bitmap.

public BitmapIndexImpl.CompressedBitmapBuilder
andNot(BitmapIndex.Bitmap
the other bitmap
other
)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.andNot.

Bitwise-AND-NOT the current bitmap with the value from the other bitmap.

public BitmapIndexImpl.CompressedBitmap

Returns:

the fully built immutable bitmap
build
()

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.build.

Build the bitmap

public int
cardinality()

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.cardinality.

Get number of elements in the bitmap

public boolean
contains(AnyObjectId
the object ID
objectId
)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.contains.

Whether the bitmap has the id set.

private EWAHCompressedBitmap
public BitmapIndexImpl
getBitmapIndex()

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.getBitmapIndex.

Get the BitmapIndex for this BitmapBuilder.

public Iterator<BitmapObject>
iterator()

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.iterator.

Returns an iterator over a set of elements of type BitmapObject.

public BitmapIndexImpl.CompressedBitmapBuilder
or(BitmapIndex.Bitmap
the other bitmap
other
)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.or.

Bitwise-OR the current bitmap with the value from the other bitmap.

public void
remove(AnyObjectId
the object ID
objectId
)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.remove.

Remove the id from the bitmap.

public boolean
removeAllOrNone(PackBitmapIndex
the bitmap index to check if it is completely contained inside of the current bitmap.
index
)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.removeAllOrNone.

Determines if the entire bitmap index is contained in the bitmap.

public EWAHCompressedBitmap
retrieveCompressed()

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.retrieveCompressed.

Returns the corresponding raw compressed EWAH bitmap of the bitmap.

public BitmapIndexImpl.CompressedBitmapBuilder
xor(BitmapIndex.Bitmap
the other bitmap
other
)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.xor.

Bitwise-XOR the current bitmap with the value from the other bitmap.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bitmapIndexback to summary
private final BitmapIndexImpl bitmapIndex
bitsetback to summary
private BitmapIndexImpl.ComboBitset bitset

Constructor Detail

CompressedBitmapBuilderback to summary
pack-priv CompressedBitmapBuilder(BitmapIndexImpl bitmapIndex)

Method Detail

addObjectback to summary
public BitmapIndex.BitmapBuilder addObject(AnyObjectId objectId, int type)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.addObject.

Doc from org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.addObject.

Adds the id to the bitmap.

Parameters
objectId:AnyObjectId

the object ID

type:int

the Git object type. See Constants.

Returns:BitmapIndex.BitmapBuilder

the current builder.

Annotations
@Override
andNotback to summary
public BitmapIndexImpl.CompressedBitmapBuilder andNot(BitmapIndex.Bitmap other)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.andNot.

Doc from org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.andNot.

Bitwise-AND-NOT the current bitmap with the value from the other bitmap.

Parameters
other:BitmapIndex.Bitmap

the other bitmap

Returns:BitmapIndexImpl.CompressedBitmapBuilder

the current builder.

Annotations
@Override
buildback to summary
public BitmapIndexImpl.CompressedBitmap build()

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.build.

Doc from org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.build.

Build the bitmap

Returns:BitmapIndexImpl.CompressedBitmap

the fully built immutable bitmap

Annotations
@Override
cardinalityback to summary
public int cardinality()

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.cardinality.

Doc from org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.cardinality.

Get number of elements in the bitmap

Returns:int

the number of elements in the bitmap.

Annotations
@Override
containsback to summary
public boolean contains(AnyObjectId objectId)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.contains.

Doc from org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.contains.

Whether the bitmap has the id set.

Parameters
objectId:AnyObjectId

the object ID

Returns:boolean

whether the bitmap currently contains the object ID

Annotations
@Override
ewahBitmapback to summary
private EWAHCompressedBitmap ewahBitmap(BitmapIndex.Bitmap other)
getBitmapIndexback to summary
public BitmapIndexImpl getBitmapIndex()

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.getBitmapIndex.

Doc from org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.getBitmapIndex.

Get the BitmapIndex for this BitmapBuilder.

Returns:BitmapIndexImpl

the BitmapIndex for this BitmapBuilder

Annotations
@Override
iteratorback to summary
public Iterator<BitmapObject> iterator()

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.iterator.

Doc from org.eclipse.jgit.lib.BitmapIndex.Bitmap.iterator.

Returns an iterator over a set of elements of type BitmapObject. The BitmapObject instance is reused across calls to Iterator#next() for performance reasons.

Returns:Iterator<BitmapObject>

an Iterator.

Annotations
@Override
orback to summary
public BitmapIndexImpl.CompressedBitmapBuilder or(BitmapIndex.Bitmap other)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.or.

Doc from org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.or.

Bitwise-OR the current bitmap with the value from the other bitmap.

Parameters
other:BitmapIndex.Bitmap

the other bitmap

Returns:BitmapIndexImpl.CompressedBitmapBuilder

the current builder.

Annotations
@Override
removeback to summary
public void remove(AnyObjectId objectId)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.remove.

Doc from org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.remove.

Remove the id from the bitmap.

Parameters
objectId:AnyObjectId

the object ID

Annotations
@Override
removeAllOrNoneback to summary
public boolean removeAllOrNone(PackBitmapIndex index)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.removeAllOrNone.

Doc from org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.removeAllOrNone.

Determines if the entire bitmap index is contained in the bitmap. If it is, the matching bits are removed from the bitmap and true is returned. If the bitmap index is null, false is returned.

Parameters
index:PackBitmapIndex

the bitmap index to check if it is completely contained inside of the current bitmap.

Returns:boolean

true if the bitmap index was a complete match.

Annotations
@Override
retrieveCompressedback to summary
public EWAHCompressedBitmap retrieveCompressed()

Implements org.eclipse.jgit.lib.BitmapIndex.Bitmap.retrieveCompressed.

Doc from org.eclipse.jgit.lib.BitmapIndex.Bitmap.retrieveCompressed.

Returns the corresponding raw compressed EWAH bitmap of the bitmap.

Returns:EWAHCompressedBitmap

the corresponding EWAHCompressedBitmap

Annotations
@Override
xorback to summary
public BitmapIndexImpl.CompressedBitmapBuilder xor(BitmapIndex.Bitmap other)

Implements org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.xor.

Doc from org.eclipse.jgit.lib.BitmapIndex.BitmapBuilder.xor.

Bitwise-XOR the current bitmap with the value from the other bitmap.

Parameters
other:BitmapIndex.Bitmap

the other bitmap

Returns:BitmapIndexImpl.CompressedBitmapBuilder

the current builder.

Annotations
@Override
org.eclipse.jgit.internal.storage.file back to summary

private final Class BitmapIndexImpl.MutableBitmapIndex

extends Object
Class Inheritance
  • java.lang.Object
  • org.eclipse.jgit.internal.storage.file.BitmapIndexImpl.MutableBitmapIndex

Field Summary

Modifier and TypeField and Description
private final BlockList<BitmapIndexImpl.MutableEntry>
private final ObjectIdOwnerMap<BitmapIndexImpl.MutableEntry>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv int
findOrInsert(AnyObjectId objectId, int type)

pack-priv int
pack-priv BitmapIndexImpl.MutableEntry
getObject(int position)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

revListback to summary
private final BlockList<BitmapIndexImpl.MutableEntry> revList
revMapback to summary
private final ObjectIdOwnerMap<BitmapIndexImpl.MutableEntry> revMap

Constructor Detail

MutableBitmapIndexback to summary
private MutableBitmapIndex()

Method Detail

findOrInsertback to summary
pack-priv int findOrInsert(AnyObjectId objectId, int type)
findPositionback to summary
pack-priv int findPosition(AnyObjectId objectId)
getObjectback to summary
pack-priv BitmapIndexImpl.MutableEntry getObject(int position)
org.eclipse.jgit.internal.storage.file back to summary

private final Class BitmapIndexImpl.MutableEntry

extends Entry
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv final int
pack-priv final int

Constructor Summary

AccessConstructor and Description
pack-priv
MutableEntry(AnyObjectId objectId, int type, int position)

Field Detail

positionback to summary
pack-priv final int position
typeback to summary
pack-priv final int type

Constructor Detail

MutableEntryback to summary
pack-priv MutableEntry(AnyObjectId objectId, int type, int position)