public class Queue
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ProGAL.dataStructures.Queue.QueueNode |
first |
protected ProGAL.dataStructures.Queue.QueueNode |
last |
protected int |
size |
Constructor and Description |
---|
Queue() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
getSize() |
boolean |
isEmpty() |
static void |
main(java.lang.String[] args) |
java.lang.Object |
peek() |
java.lang.Object |
pop() |
void |
push(java.lang.Object obj) |