public class FlatMapperIterator<T,R> extends WrappedIterator<R>
| 限定符和类型 | 字段和说明 |
|---|---|
protected Iterator<R> |
batchIterator |
current| 构造器和说明 |
|---|
FlatMapperIterator(Iterator<T> origin,
java.util.function.Function<T,Iterator<R>> mapper) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
protected boolean |
fetch() |
protected boolean |
fetchFromBatch() |
protected Iterator<T> |
originIterator() |
protected void |
resetBatchIterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void close()
throws Exception
close 在接口中 AutoCloseableclose 在类中 WrappedIterator<R>Exceptionprotected Iterator<T> originIterator()
originIterator 在类中 WrappedIterator<R>protected final boolean fetch()
fetch 在类中 WrappedIterator<R>protected boolean fetchFromBatch()
protected final void resetBatchIterator()
Copyright © 2020. All rights reserved.