E - public class CompositeSortedIterator<E> extends Object implements org.archive.util.iterator.CloseableIterator<E>
| Constructor and Description |
|---|
CompositeSortedIterator(Comparator<E> comparator) |
public 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–2015 IIPC. All rights reserved.