|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmako5.util.ListQueue<T>
public final class ListQueue<T>
Makes a new queue.
Queue| Constructor Summary | |
|---|---|
ListQueue(List<T> rAlias_)
Makes a new ListQueue with the given type of list. |
|
| Method Summary | |
|---|---|
void |
clear()
Removes all elements from this queue |
T |
dequeue()
Dequeues this queue |
void |
enqueue(T rObj)
Enqueues this queue |
boolean |
isEmpty()
Returns true if there are no more elements in this |
int |
size()
Returns the number of elements in this. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListQueue(List<T> rAlias_)
| Method Detail |
|---|
public T dequeue()
dequeue in interface Queue<T>public void enqueue(T rObj)
enqueue in interface Queue<T>rObj - the object to add to the queuepublic boolean isEmpty()
isEmpty in interface Queue<T>public void clear()
clear in interface Queue<T>public int size()
size in interface Queue<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||