public interface ILcdQueue
Modifier and Type | Method and Description |
---|---|
Object |
dequeue()
Gets and removes the first element from the queue.
|
void |
enqueue(Object aObject)
Adds a given object to the queue.
|
boolean |
isEmpty()
Returns true if the queue is empty, false otherwise.
|
boolean isEmpty()
void enqueue(Object aObject)
aObject
- the Object
to be added to the queue.Object dequeue()