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 int
BLOCK_SIZE
(package private) RevCommit[]
commits
Our table of queued commits.(package private) int
headIndex
Next valid entry incommits
.(package private) BlockRevQueue.Block
next
Next block in our chain of blocks; null if we are the last.(package private) int
tailIndex
Next free entry incommits
for addition at.
-
Constructor Summary
Constructors Constructor Description Block()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
add(RevCommit c)
(package private) boolean
canUnpop()
(package private) void
clear()
(package private) boolean
isEmpty()
(package private) boolean
isFull()
(package private) RevCommit
peek()
(package private) RevCommit
pop()
(package private) void
resetToEnd()
(package private) void
resetToMiddle()
(package private) void
unpop(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 incommits
for addition at.
-
-