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, waitforEachRemainingpublic void clear()
public void close()
close in interface AutoCloseableCopyright © 2013–2021 Apache Software Foundation. All rights reserved.