static final class BlockObjQueue.Block
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int |
BLOCK_SIZE |
(package private) int |
headIndex
Next valid entry in
objects . |
(package private) BlockObjQueue.Block |
next
Next block in our chain of blocks; null if we are the last.
|
(package private) RevObject[] |
objects
Our table of queued objects.
|
(package private) int |
tailIndex
Next free entry in
objects for addition at. |
Constructor and Description |
---|
Block() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
add(RevObject c) |
(package private) void |
clear() |
(package private) boolean |
isEmpty() |
(package private) boolean |
isFull() |
(package private) RevObject |
pop() |
private static final int BLOCK_SIZE
BlockObjQueue.Block next
final RevObject[] objects
int headIndex
objects
.int tailIndex
objects
for addition at.