|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.data.SequentialMultiIterator
public class SequentialMultiIterator
An enumeration that traverses an ordered set of sub-enumerations. Each enumeration is completed before the next one is started.
| Constructor Summary | |
|---|---|
SequentialMultiIterator()
Creates a new SequentialMultiIterator |
|
SequentialMultiIterator(java.util.Iterator a,
java.util.Iterator b)
Creates a new SequentialMultiIterator based on two enumerations |
|
| Method Summary | |
|---|---|
void |
add(java.util.Iterator newEnum)
Adds an enumeration to the end of the SequentialMultiIterator. |
boolean |
hasNext()
Returns true if the enumeration contains more elements; false if its empty. |
java.lang.Object |
next()
Returns the next element of the enumeration. |
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SequentialMultiIterator()
public SequentialMultiIterator(java.util.Iterator a,
java.util.Iterator b)
| Method Detail |
|---|
public void add(java.util.Iterator newEnum)
add in interface MultiIteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorjava.util.NoSuchElementException - If no more elements exist.public void remove()
remove in interface java.util.Iterator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||