Package org.objectweb.joram.client.jms
Class QueueBrowser.QueueEnumeration
- java.lang.Object
-
- org.objectweb.joram.client.jms.QueueBrowser.QueueEnumeration
-
- All Implemented Interfaces:
Enumeration
- Enclosing class:
- QueueBrowser
private class QueueBrowser.QueueEnumeration extends Object implements Enumeration
TheQueueEnumerationclass is used to enumerate the browses sent by queues.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateQueueEnumeration(Vector messages)Constructs aQueueEnumerationinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasMoreElements()API method.ObjectnextElement()API method.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Enumeration
asIterator
-
-
-
-
Field Detail
-
messages
private Vector messages
The vector of messages.
-
-
Constructor Detail
-
QueueEnumeration
private QueueEnumeration(Vector messages)
Constructs aQueueEnumerationinstance.- Parameters:
messages- The vector of messages to enumerate.
-
-
Method Detail
-
hasMoreElements
public boolean hasMoreElements()
API method.- Specified by:
hasMoreElementsin interfaceEnumeration
-
nextElement
public Object nextElement()
API method.- Specified by:
nextElementin interfaceEnumeration
-
-