public class JoinIterator extends Object implements Iterator
Constructor and Description |
---|
JoinIterator(Iterator[] iterators)
Creates an Iterator that joins other Iterators.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Object |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public JoinIterator(Iterator[] iterators)
iterators
- the Iterators whose results are joinedIllegalArgumentException
- if a null array argument, or one with less than 2 elements is
usedCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.