|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Removes elements from a Queue in some ordered fashion. Direct implementations may pause during a remove operation if the Queue is empty, and wait for an element to be added.
OrderedQueue| Method Summary | |
Object |
peekNext()
Retrieves the next Object from the queue without removing it. |
Object |
removeNext()
Removes the next Object from the queue. |
| Methods inherited from interface net.sf.zig_project.gpl.common.queue.Queue |
clear, contains, elements, isEmpty, remove |
| Method Detail |
public Object removeNext()
throws InterruptedException
InterruptedException - if the current thread is interrupted
while waiting for an element to become availablepublic Object peekNext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||