E - public class CompositeSortedIterator<E> extends Object implements org.archive.util.iterator.CloseableIterator<E>
| Constructor and Description |
|---|
CompositeSortedIterator(Comparator<E> comparator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(Iterator<E> itr) |
void |
close() |
boolean |
hasNext() |
E |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic CompositeSortedIterator(Comparator<E> comparator)
comparator - Comparator to use for sorting orderpublic void addComponent(Iterator<E> itr)
itr - Iterator which is a component of this compositepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2005–2017 IIPC. All rights reserved.