|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jrun.jms.core.messagemgr.MessageQueue
| Constructor Summary | |
MessageQueue()
|
|
MessageQueue(java.util.Comparator comparator)
|
|
| Method Summary | |
void |
add(MessageHandle handle)
Add an element to the "superSet". |
void |
clear()
Remove all the elements from the queue |
boolean |
contains(MessageHandle handle)
Check if the specified object exists |
MessageHandle |
first()
Return (but don't remove) the first element on the queue |
boolean |
isEmpty()
Check if the queue is empty |
java.util.Iterator |
iterator()
Return an iterator to the list |
boolean |
remove(MessageHandle handle)
Remove the object from the queue |
int |
size()
Return the number elements in the queue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MessageQueue()
public MessageQueue(java.util.Comparator comparator)
| Method Detail |
public void add(MessageHandle handle)
public boolean contains(MessageHandle handle)
object - - object to checkpublic boolean isEmpty()
public java.util.Iterator iterator()
public boolean remove(MessageHandle handle)
object - object to removepublic void clear()
public int size()
public MessageHandle first()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||