S - T - public class AdaptedIterator<S,T> extends Object implements org.archive.util.iterator.CloseableIterator<T>
| Modifier and Type | Field and Description |
|---|---|
protected Adapter<S,T> |
adapter |
protected Iterator<S> |
itr |
| Constructor and Description |
|---|
AdaptedIterator(Iterator<S> itr,
Adapter<S,T> adapter) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2005–2017 IIPC. All rights reserved.