org.exolab.jms.tools.migration
Interface StoreIterator
- All Known Implementing Classes:
- IteratorAdapter
- public interface StoreIterator
An iterator over a Store
.
- Version:
- $Revision: 1.1 $ $Date: 2005/09/04 07:07:12 $
- Author:
- Tim Anderson
Method Summary |
boolean |
hasNext()
Returns true if the iterator has more elements. |
java.lang.Object |
next()
Returns the next element in the interation. |
hasNext
public boolean hasNext()
- Returns true if the iterator has more elements.
- Returns:
- true if the iterator has more elements.
next
public java.lang.Object next()
throws javax.jms.JMSException,
org.exolab.jms.persistence.PersistenceException
- Returns the next element in the interation.
- Returns:
- the next element in the iteration.
- Throws:
javax.jms.JMSException
- for any JMS errororg.exolab.jms.persistence.PersistenceException
- for any persistence errorjava.util.NoSuchElementException
- iteration has no more elements.
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.