public class MapperIterator<T,R> extends WrappedIterator<R>
current| Constructor and Description |
|---|
MapperIterator(Iterator<T> origin,
java.util.function.Function<T,R> mapper) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
fetch() |
protected Iterator<T> |
originIterator() |
close, close, hasNext, metadata, next, none, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic MapperIterator(Iterator<T> origin, java.util.function.Function<T,R> mapper)
protected Iterator<T> originIterator()
originIterator in class WrappedIterator<R>protected final boolean fetch()
fetch in class WrappedIterator<R>Copyright © 2021. All rights reserved.