public class CloseableIteratorMapper<E,S> extends IteratorMapper<E,S> implements CloseableIterator<S>
Constructor and Description |
---|
CloseableIteratorMapper(CloseableIterator<? extends E> iterator,
Function<? super E,? extends S> function) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, hasNext, next, remove
public CloseableIteratorMapper(CloseableIterator<? extends E> iterator, Function<? super E,? extends S> function)
public void close()
close
in interface AutoCloseable
close
in interface CloseableIterator<S>
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.