|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lti.utils.collections.Queue<T>
public class Queue<T>
Implementation of a FIFO.
Constructor Summary | |
---|---|
Queue()
|
Method Summary | |
---|---|
T |
dequeue()
|
void |
enqueue(T o)
|
boolean |
isEmpty()
|
T |
peek()
|
void |
removeAllElements()
|
int |
size()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Queue()
Method Detail |
---|
public int size()
public T dequeue()
public T peek()
public void enqueue(T o)
public void removeAllElements()
public boolean isEmpty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |