E
- the value type@NotThreadSafe public final class MultiIterator<E> extends Object implements Iterator<E>
Modifier | Constructor and Description |
---|---|
protected |
MultiIterator(Iterable<Iterator<E>> iterators) |
Modifier and Type | Method and Description |
---|---|
static <E> MultiIterator<E> |
fromIterables(Iterable<? extends Iterable<E>> iterables) |
static <E> MultiIterator<E> |
fromIterators(Iterable<Iterator<E>> iterators) |
boolean |
hasNext() |
E |
next() |
protected boolean |
nextIterator() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public static <E> MultiIterator<E> fromIterators(Iterable<Iterator<E>> iterators)
public static <E> MultiIterator<E> fromIterables(Iterable<? extends Iterable<E>> iterables)
protected boolean nextIterator()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.