public final class FIFOQueue extends Object
Constructor and Description |
---|
FIFOQueue() |
FIFOQueue(int initialSize_) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object obj_)
add an element to the bottom of the queue
|
void |
clear() |
boolean |
isEmpty() |
Object |
pop() |
boolean |
push(Object obj_) |
Object |
remove()
remove the top element from the buffer
|
String |
toString() |
public FIFOQueue(int initialSize_)
initialSize_
- the initial size of the queuepublic FIFOQueue()