Module org.eclipse.jgit
Class MultiPackIndex.MutableEntry
java.lang.Object
org.eclipse.jgit.internal.storage.midx.MultiPackIndex.MutableEntry
- Enclosing interface:
- MultiPackIndex
Entry from the midx with object id, pack id, offset (in pack)
Mutable so the iterator can reuse the instance for performance.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MutableObjectIdprotected final MultiPackIndex.PackOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()fill(MultiPackIndex.MutableEntry other, int shift) Copy data from other into this instance, adding the shift to the packIdlonginttoString()
-
Field Details
-
oid
-
packOffset
-
-
Constructor Details
-
MutableEntry
public MutableEntry()
-
-
Method Details
-
fill
Copy data from other into this instance, adding the shift to the packId- Parameters:
other- another entryshift- amount to add to the packid- Returns:
- this instance
-
getObjectId
-
getPackId
public int getPackId() -
getOffset
public long getOffset() -
clear
public void clear() -
toString
-