public interface Queue<T extends Comparable<T>>
Modifier and Type | Method and Description |
---|---|
void |
clear()
clear the queue items.
|
void |
deleteItem(T item)
Delete one item from the queue.
|
T |
firstItem() |
void |
insertItem(T item)
Insert one item into the Queue
|
String |
show()
Print out the queue element to the standard output
|
void |
show(PrintStream p)
Print out the queue element to the PrintStream p
|
void insertItem(T item)
void deleteItem(T item)
void show(PrintStream p)
void clear()