public final class MultiIterator<T> extends Object implements Iterator<T>, Serializable, AutoCloseable
Constructor and Description |
---|
MultiIterator() |
Modifier and Type | Method and Description |
---|---|
void |
addIterator(Iterator<T> iterator) |
void |
clear() |
void |
close()
Close the underlying iterators if auto-closeable.
|
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public void clear()
public void close()
close
in interface AutoCloseable
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.