static final class BlockRevQueue.Block
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static int |
BLOCK_SIZE |
(package private) RevCommit[] |
commits
Our table of queued commits.
|
(package private) int |
headIndex
Next valid entry in
commits . |
(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 in
commits for addition at. |
Constructor and Description |
---|
Block() |
Modifier and Type | Method and 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) |
static final int BLOCK_SIZE
BlockRevQueue.Block next
final RevCommit[] commits
int headIndex
commits
.int tailIndex
commits
for addition at.