Package org.eclipse.jgit.revwalk
Class BlockRevQueue.Block
- java.lang.Object
-
- org.eclipse.jgit.revwalk.BlockRevQueue.Block
-
- Enclosing class:
- BlockRevQueue
static final class BlockRevQueue.Block extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static intBLOCK_SIZE(package private) RevCommit[]commitsOur table of queued commits.(package private) intheadIndexNext valid entry incommits.(package private) BlockRevQueue.BlocknextNext block in our chain of blocks; null if we are the last.(package private) inttailIndexNext free entry incommitsfor addition at.
-
Constructor Summary
Constructors Constructor Description Block()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidadd(RevCommit c)(package private) booleancanUnpop()(package private) voidclear()(package private) booleanisEmpty()(package private) booleanisFull()(package private) RevCommitpeek()(package private) RevCommitpop()(package private) voidresetToEnd()(package private) voidresetToMiddle()(package private) voidunpop(RevCommit c)
-
-
-
Field Detail
-
BLOCK_SIZE
static final int BLOCK_SIZE
- See Also:
- Constant Field Values
-
next
BlockRevQueue.Block next
Next block in our chain of blocks; null if we are the last.
-
commits
final RevCommit[] commits
Our table of queued commits.
-
headIndex
int headIndex
Next valid entry incommits.
-
tailIndex
int tailIndex
Next free entry incommitsfor addition at.
-
-