|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.tools.migration.IteratorAdapter
Helper to adapt an Iterator
to a StoreIterator
.
Constructor Summary | |
IteratorAdapter(java.util.Iterator iterator)
Construct a new IteratorAdapter . |
Method Summary | |
boolean |
hasNext()
Returns true if the iterator has more elements. |
java.lang.Object |
next()
Returns the next element in the interation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IteratorAdapter(java.util.Iterator iterator)
IteratorAdapter
.iterator
- the iterator to adaptMethod Detail |
public boolean hasNext()
hasNext
in interface StoreIterator
public java.lang.Object next()
next
in interface StoreIterator
java.util.NoSuchElementException
- iteration has no more elements.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |