public static final class IntNode.LinkedQueue
extends java.lang.Object
Constructor and Description |
---|
LinkedQueue() |
Modifier and Type | Method and Description |
---|---|
IntNode |
dequeue()
Dequeue an item from the front of the queue.
|
void |
enqueue(IntNode item)
Add an item to the end of the queue.
|
boolean |
isEmpty()
Check if the queue is empty.
|