public abstract class ConvertingIterator<I,R> extends Object implements CloseableIterator<R>
| Constructor and Description |
|---|
ConvertingIterator(Iterator<I> inputIterator) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected abstract R |
convert(I input) |
boolean |
hasNext() |
R |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void close()
close in interface AutoCloseableclose in interface CloseableIterator<R>Copyright © 2024 echocat. All rights reserved.