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, wait
forEachRemaining
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2005–2017 IIPC. All rights reserved.