|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.storage.dht.ChunkIndex
public abstract class ChunkIndex
Index into a PackChunk
.
Method Summary | |
---|---|
int |
getObjectCount()
Get the total number of objects described by this index. |
ObjectId |
getObjectId(int nth)
Get an ObjectId from this index. |
int |
getOffset(int nth)
Get the offset of an object in the chunk. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final int getObjectCount()
public final ObjectId getObjectId(int nth)
nth
- the object to return. Must be in range [0, getObjectCount).
public final int getOffset(int nth)
nth
- offset to return. Must be in range [0, getObjectCount).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |