T - public abstract class AbstractMultiIterator<T> extends java.lang.Object implements CloseableIterator<T>
AutoCloseable we assume only the current iterator
needs closingCloseableIterator![]() |
![]() |
| Constructor and Description |
|---|
AbstractMultiIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
protected abstract java.util.Iterator<T> |
nextIterator()
return the next Iterator in the sequence or null if no more iterators
are available
|
void |
remove() |
protected abstract java.util.Iterator<T> nextIterator()
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception