|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Queue<AnyType>
Queue interface.
Method Summary | |
---|---|
AnyType |
element()
Returns but does not remove the item at the "front" of the queue. |
AnyType |
remove()
Returns and removes the item at the "front" of the queue. |
Methods inherited from interface weiss.util.Collection |
---|
add, clear, contains, isEmpty, iterator, remove, size, toArray, toArray |
Method Detail |
---|
AnyType element()
NoSuchElementException
- if the queue is empty.AnyType remove()
NoSuchElementException
- if the queue is empty.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |