Class ReftableReader.ObjCursorImpl
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.reftable.RefCursor
-
- org.eclipse.jgit.internal.storage.reftable.ReftableReader.ObjCursorImpl
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- ReftableReader
private class ReftableReader.ObjCursorImpl extends RefCursor
-
-
Constructor Summary
Constructors Constructor Description ObjCursorImpl(long scanEnd, AnyObjectId id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Ref
getRef()
Get reference at the current position.(package private) void
initScan()
(package private) void
initSeek()
boolean
next()
Check if another reference is available.-
Methods inherited from class org.eclipse.jgit.internal.storage.reftable.RefCursor
wasDeleted
-
-
-
-
Field Detail
-
scanEnd
private final long scanEnd
-
match
private final ObjectId match
-
ref
private Ref ref
-
listIdx
private int listIdx
-
blockPos
private LongList blockPos
-
block
private BlockReader block
-
-
Constructor Detail
-
ObjCursorImpl
ObjCursorImpl(long scanEnd, AnyObjectId id)
-
-
Method Detail
-
initSeek
void initSeek() throws java.io.IOException
- Throws:
java.io.IOException
-
initScan
void initScan() throws java.io.IOException
- Throws:
java.io.IOException
-
next
public boolean next() throws java.io.IOException
Description copied from class:RefCursor
Check if another reference is available.
-
getRef
public Ref getRef()
Description copied from class:RefCursor
Get reference at the current position.
-
-