|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.solr.util.IteratorChain<E>
public class IteratorChain<E>
Chain several Iterators, so that this iterates over all of them in sequence.
Constructor Summary | |
---|---|
IteratorChain()
|
Method Summary | |
---|---|
void |
addIterator(java.util.Iterator<E> it)
|
boolean |
hasNext()
|
E |
next()
hasNext() must ALWAYS be called before calling this otherwise it's a bit hard to keep track of what's happening |
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IteratorChain()
Method Detail |
---|
public void addIterator(java.util.Iterator<E> it)
public boolean hasNext()
hasNext
in interface java.util.Iterator<E>
public E next()
next
in interface java.util.Iterator<E>
public void remove()
remove
in interface java.util.Iterator<E>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |