public class Queue<T>
extends java.lang.Object
Constructor and Description |
---|
Queue() |
Modifier and Type | Method and Description |
---|---|
T |
dequeue() |
void |
enqueue(T o) |
boolean |
isEmpty() |
T |
peek() |
void |
removeAllElements() |
int |
size() |